[paramiko] SSHException: Unknown server <server> on Windows XP

Bulkan bulkan at gmail.com
Mon Feb 25 14:49:55 PST 2008


On Tue, Feb 26, 2008 at 1:32 AM, James Bardin <jbardin at bu.edu> wrote:

>
>
> Bulkan wrote:
> > Hi all,
> >
> > Im getting the exception SSHException: Unknown server <server> when i
> run
> > the following code on Windows, but i can ssh into the <server> using
> PuTTY.
> > Any ideas ?
> >
> >     import paramiko
> >     import getpass
> >
> >     client = SSHClient()
> >     client.load_system_host_keys()
>
> Try specifying the hostkeys explicitly with
>
client.load_system_host_keys('path/to/known_hosts')


I've tried running the above script in Ubuntu but it also fails with the
same Exception. I forgot to mention that i've been testing this script on
Windows/Ubuntu that is inside a Virtual Machine (Parallels) can this be the
problem ?


Cheers


-- 
http://www.bulkan-evcimen.com
http://blog.bulkan-evcimen.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lag.net/pipermail/paramiko/attachments/20080226/67243421/attachment.htm 


More information about the paramiko mailing list