Theta Sigma who at
Tue Dec 4 19:10:42 CET 2012


I'm trying to create a SSH connection with the paramiko module, and
I'm running to this error...

>> import os, paramiko
>> ssh = paramiko.SSHClient()
>> ssh.load_system_host_keys()
>> ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
>> ssh.connect('...',username='...',password='...')
Traceback (most recent call last):
  File "<stdin>", line 1 in <module>
  File "build\\egg\paramiko\client,py", line 338, in
  File "build\\egg\paramiko\", line 519, in
paramiko.BadAuthenticationType: Bad authentication type
>> No handlers could be found for logger "paramiko.transport"

What am I doing wrong?

I'm running Python 2.7 on Windows 7, with paramiko-

More information about the Python-list mailing list