SSH and Windows
faizan at jaredweb.com
Fri Aug 1 23:50:30 CEST 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.
Hmm...is there a *nix version for PLink? I checked PuTTY's site and
it's all for Windows. Or maybe an alternative for PLink for *nix?
More information about the Python-list