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 <[email protected]> To: Min Kim <[email protected]> Cc: [email protected] 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 <[email protected]> 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 > [email protected] > http://www.lag.net/cgi-bin/mailman/listinfo/paramiko >
_______________________________________________ paramiko mailing list [email protected] http://www.lag.net/cgi-bin/mailman/listinfo/paramiko
