Comment 6 for bug 411910

Revision history for this message
yakaneli (jenglund) wrote : Re: [Bug 411910] Re: SSHClient.connect fails on Windows XP

Hey, I just looked at the file client.py and then did the changes myself
manually...and then it worked great. It only makes a change to one line, I
was able to figure it out pretty easily.

"patch" is a unix command and I was using windows anyway

Hope this helps ...

On Tue, Sep 29, 2009 at 10:28 AM, vishnu <email address hidden> wrote:

> Hi, I too do not know where to apply the patch client.py in the paramiko
> library. Any information regarding teh same would help me. Thank you.
>
> --
> SSHClient.connect fails on Windows XP
> https://bugs.launchpad.net/bugs/411910
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Paramiko SSH2 library for python: New
>
> Bug description:
> I have just upgraded to Paramiko 1.7.5 (Ernest), and tested it on a Windows
> XP host. Attempting to call SSHClient.connect fails with the following
> exception:
> paramiko.SSHException: No suitable address family for titan
>
> This bug appears to have been introduced with the new IPv6 support. Calling
> getaddrinfo may yield results with socktype=0, which are silently ignored by
> Paramiko. If you specify a hint of socket.SOCK_STREAM, the resulting
> socktype should be socket.SOCK_STREAM. i.e.
> socket.getaddrinfo(host, port, socket.AF_UNSPEC, socket.SOCK_STREAM)
>