I'm trying to get started with the Paramiko library, but the library is throwing an exception as soon as I try to connect with the following simple program:
import paramiko ssh = paramiko.SSHClient() ssh.connect('127.0.0.1', username='boatzart', password='mypassword')
The error I get is:
Traceback (most recent call last): File "test.py", line 6, in <module> ssh.connect('127.0.0.1') File "build/bdist.macosx-10.7-intel/egg/paramiko/client.py", line 316, in connect File "build/bdist.macosx-10.7-intel/egg/paramiko/client.py", line 85, in missing_host_key paramiko.SSHException: Unknown server 127.0.0.1
This occurs no matter which server I try.