-
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
paramiko does not automatically add unknown hosts #11
Comments
Hi, I have the same problem. Is this a bug or I'm doing something wrong. I'm using paramiko in Python 2.7 32 bits over Windows 7. |
Sorry, solved. You have to use: ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) before |
You need add: ssh.load_system_host_keys() ..before ssh.connect |
+1 @jmsalomr , that worked. Thanks. |
@jmsalomr you saved my time. Thanks!! |
+1 @jmsalomr , that worked. Thanks. |
@jmsalomr Thanks. |
@jmsalomr thanks :) 👍 |
To modify |
i get this error what is the step i am missing or doing wrong? @jmsalomr |
I ran into both of the issues in this thread. To fix the NoneType error, I went to //.ssh and deleted everything. Started working. |
The text was updated successfully, but these errors were encountered: