-
Notifications
You must be signed in to change notification settings - Fork 4
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
Failed to connect to the host via ssh #20
Comments
搞了半天,在下最後用了
Reference |
我想我知道為什麼了,@William-Yeh 包的 image 沒有安裝 openssh-client,而我一裝起它 Ansible 就會改用 SSH 的方式連接 managed node,而不是透過 paramiko。 或許在 Ansible 2.3 裡, |
哈,果然把
|
附上來自 Python 模塊基礎 | w3cschool 的 paramiko 介紹。
|
If we want to use the
Reference
|
當不使用 ssh key 而是使用
ansible_ssh_pass
和ansible_sudo_pass
來處理連線的認證資訊時,有機會遇到Failed to connect to the host via ssh
的錯誤訊。Error message:
版本資訊:
The text was updated successfully, but these errors were encountered: