[paramiko] SSHException: No suitable address family forxx.xx.xx.xx
Min Kim
MKim at edisonmission.com
Thu Oct 29 11:20:18 PDT 2009
Ah, I see, thank you. Sorry, I'm not too familiar with how to patch Python
packages and didn't know to look for the .patch attachment. I went into
the site package and manually made the changes indicated in the .patch
file, but it's working now.
-Min
From:
<Charles_Duffy at Dell.com>
To:
<MKim at edisonmission.com>
Cc:
<paramiko at lag.net>
Date:
10/29/2009 01:07 PM
Subject:
RE: [paramiko] SSHException: No suitable address family forxx.xx.xx.xx
It shouldn?t be necessary to roll back ? apply the patch attached to the
linked message.
From: paramiko-bounces at lag.net [mailto:paramiko-bounces at lag.net] On Behalf
Of Min Kim
Sent: Thursday, October 29, 2009 10:40 AM
To: shikhar
Cc: paramiko at lag.net
Subject: Re: [paramiko] SSHException: No suitable address family
forxx.xx.xx.xx
OK, so the issue is that I'm on Windows using an IPv4 address, when
paramiko wants an IPv6 one? Do you know which old version I should roll
back to in order to make this work?
-Min
From:
shikhar <shikhar at schmizz.net>
To:
Min Kim <MKim at edisonmission.com>
Cc:
paramiko at lag.net
Date:
10/29/2009 06:35 AM
Subject:
Re: [paramiko] SSHException: No suitable address family for xx.xx.xx.xx
Hi,
See http://www.lag.net/pipermail/paramiko/2009-August/001108.html
Shikhar
On Mon, Oct 26, 2009 at 7:02 PM, Min Kim <MKim at edisonmission.com> wrote:
>
> I just recently started using paramiko. I'm running Python 2.5.4,
paramiko
> 1.7.5 on Windows XP. Below is a very simple script I wrote based on a
> guide, but I keep getting the (SSHException: No suitable address family
for
> xx.xx.xx.xx) exception, where xx.xx.xx.xx is the IP I'm trying to
connect
> to. The IP is of an off-site network which forwards port 22 connections
to
> an Ubuntu computer.
>
> from paramiko import SSHClient, AutoAddPolicy
>
> OFFSITE_IP = 'xx.xx.xx.xx'
> PORT_NO = 22
> USERNAME = 'username'
> PASSWORD = 'password'
>
> ssh = SSHClient()
> ssh.set_missing_host_key_policy(AutoAddPolicy())
> ssh.connect(OFFSITE_IP, PORT_NO, USERNAME, PASSWORD)
>
>
> I've used this sort of script from an Ubuntu computer to another Ubuntu
> computer in the same network, with no problems. If anyone knows anything
> about this exception and why I might be getting it, it would be very
> helpful. Thank you.
> -Min
> _______________________________________________
> paramiko mailing list
> paramiko at lag.net
> http://www.lag.net/cgi-bin/mailman/listinfo/paramiko
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lag.net/pipermail/paramiko/attachments/20091029/83d98d7e/attachment.html>
More information about the paramiko
mailing list