SSH and Windows
Alan Kennedy
alanmk at hotmail.com
Fri Jul 25 04:28:13 EDT 2003
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.
>
> Any help is appreciated.
Perhaps you might be able to use stunnel, which is a encrypting proxy
that will secure any socket connection, does not require code changes
in client or server code, and is quite straightforward to use.
http://www.stunnel.org/
HTH,
--
alan kennedy
-----------------------------------------------------
check http headers here: http://xhaus.com/headers
email alan: http://xhaus.com/mailto/alan
More information about the Python-list
mailing list