SSH and Windows

Isaac Raway isaac at blueapples.org
Fri Aug 1 12:45:19 EDT 2003


Peter Hansen <peter at engcorp.com> wrote in message news:<3F2069BD.1FE2EC2 at engcorp.com>...
> Isaac Raway wrote:
> > 
> > Hello. I'm writing a Python program that connects to servers through
> > telnetlib to execute a few commands. I've discovered that some of the
> > servers that I have to connect to with this program run only SSH, so I
> > need to add support for SSH to the program. I'm looking for a library
> > that behaves similarly to telnetlib for SSH connections. Does anyone
> > know of one? I was going to try using pexpect to control the Windows
> > telnet command, but pexpect only works on Unix.
> 
> If it's just to execute a few commands, consider downloading PLink
> (from the PuTTY site) and use it via os.system().  It works well.

Thank you, it worked perfectly. You have ended a week of headaces.

> -Peter




More information about the Python-list mailing list