Hi,

I'm a new user of paramiko and when I tried to start a ssh client using the
code below,I got an exception saying:
"paramiko.SSHException: No suitable address"


import paramiko
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(
    paramiko.AutoAddPolicy())
ssh.connect('127.0.0.1', username='xxx',
    password='xxx')


But when I using  SFTPClient with the same username and password, everything
goes smoothly. I can logon the server and put/get files.

My python version is 2.5, does anybody had this experience before? Any
advice will be appreciated much.

Thank you!
-- 
Lenciel
_______________________________________________
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Reply via email to