Paramiko SSHClient.connect() problem

Skip Montanaro skip.montanaro at gmail.com
Tue Oct 27 15:56:58 EDT 2015


On Tue, Oct 27, 2015 at 1:40 PM, Chris Angelico <rosuav at gmail.com> wrote:

> If you hack your hosts file to have only one localhost,
> does the problem disappear?
>

Yes, that appears to solve the problem. Thanks. I hadn't even thought there
would be IPv4/IPv6 distinctions here.

Interestingly enough, the box does seem to support IPv6:

% ssh ::1
Warning: Permanently added '::1' (ECDSA) to the list of known hosts.
Last login: Tue Oct 27 07:31:10 2015 from 10.100.0.191
...

Would I have been able to solve the problem in my paramiko calls by
suitable changes to ssh.connect()? I don't see anything obvious, though
perhaps I could give a non-default "sock" argument?

Skip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20151027/577d6019/attachment.html>


More information about the Python-list mailing list