Comments (8)
Figured out what the Issue was , Raspbian switches off SSH by default now and hence this project wont work until you connect to peripherals and enable ssh.
from ansible-pi.
You can just add an ssh file to the boot path
If you want to enable SSH, all you need to do is to put a file called ssh in the /boot/ directory. The contents of the file donβt matter: it can contain any text you like, or even nothing at all. When the Pi boots, it looks for this file; if it finds it, it enables SSH and then deletes the file.
ref: https://www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/
from ansible-pi.
Got it working - thank you!
from ansible-pi.
Hi ,
Facing the same issue : For traceability , I have added the Raspi's ip address in Hosts file, updated the wpa_supplicant.conf file and ran the command. Am I missing something?
from ansible-pi.
the guide that @davidnquach posted worked for me regarding the connection failure, but now I'm getting this error:
{"changed": false, "msg": "host key mismatch for 192.168.1.xxx", "unreachable": true}
Any idea how to rectify this?
I'm not sure what to enter for the SSH Password
and SSH Key for your new device
prompts.
from ansible-pi.
If this is your first time setting up; the default user is pi, and the password is raspberry.
ref: https://www.raspberrypi.org/documentation/linux/usage/users.md
from ansible-pi.
Thanks @davidnquach. I think the problem is the ssh key prompt. What do you enter for please enter the SSH Key for your new device::
?
I've tried blank and the one from my known_hosts
file but I keep getting this error now:
fatal: [192.168.1.xxx]: UNREACHABLE! => {"changed": false, "msg": "Authentication failed.", "unreachable": true}
from ansible-pi.
I don't believe I have run into that but have you generated an ssh key for your local machine? Also how are you running the ssh command? ssh [email protected]
should just prompt you for the password and another prompt for you to agree that it is a safe machine to log into.
from ansible-pi.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-pi.