Skip to content
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

Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. #2

Open
kamal2222ahmed opened this issue May 5, 2019 · 1 comment

Comments

@kamal2222ahmed
Copy link

TASK [Gathering Facts] *********************************************************************************************************************************************************************************************************************
fatal: [172.16.66.2]: FAILED! => {"msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}
fatal: [172.16.66.3]: FAILED! => {"msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}
fatal: [172.16.66.5]: FAILED! => {"msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}
fatal: [172.16.66.4]: FAILED! => {"msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}
	to retry, use: --limit @/Users/syedahmed/KUBERNETES/jeremievallee/kubernetes-vagrant-ansible/playbook.retry

PLAY RECAP *********************************************************************************************************************************************************************************************************************************
172.16.66.2                : ok=0    changed=0    unreachable=0    failed=1
172.16.66.3                : ok=0    changed=0    unreachable=0    failed=1
172.16.66.4                : ok=0    changed=0    unreachable=0    failed=1
172.16.66.5                : ok=0    changed=0    unreachable=0    failed=1
@kamal2222ahmed
Copy link
Author

$ brew install http://git.io/sshpass.rb
######################################################################## 100.0%
Warning: sshpass 1.05 is already installed and up-to-date
To reinstall 1.05, run `brew reinstall sshpass`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant