In message <mailman.2006.1223188361.3487.python-list at python.org>, sa6113 wrote: > host = "LinuxComputerName" (or its Ip) > port = 22 > > and after runing this code I get this error: > socket.error: (10061, 'Connection refused') Did you try sftp LinuxComputerName just to confirm it's got a listener on port 22?