-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host Unreachable #7
Comments
Hi , |
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. |
You can just add an ssh file to the boot path
ref: https://www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/ |
the guide that @davidnquach posted worked for me regarding the connection failure, but now I'm getting this error:
Any idea how to rectify this? I'm not sure what to enter for the |
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 |
Thanks @davidnquach. I think the problem is the ssh key prompt. What do you enter for I've tried blank and the one from my
|
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? |
Got it working - thank you! |
Hi,
I'm running this on macOS 10.12.5, python 2.7.13, ansible 2.3.0.0. I get this error when I try to run the playbook:
$ ansible-playbook playbook.yml -i hosts --ask-pass --become -c paramiko
SSH password:
PLAY [Ansible Playbook for configuring brand new Raspberry Pi] *********************************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************************************************
fatal: [192.168.1.xxx]: UNREACHABLE! => {"changed": false, "msg": "[Errno None] Unable to connect to port 22 on 192.168.1.xxx", "unreachable": true}
to retry, use: --limit @/Users/[username]/Downloads/ansible-pi/playbook.retry
PLAY RECAP *************************************************************************************************************************************************************************************************
192.168.1.xxx : ok=0 changed=0 unreachable=1 failed=0
The text was updated successfully, but these errors were encountered: