Quick Newbie Question
alex23
wuwei23 at gmail.com
Sat Nov 29 02:43:27 EST 2008
On Nov 29, 5:09 pm, Josh <jho... at hotmail.com> wrote:
> Can Python be used on one Linux machine to drive another Linux machine
> through SSH? I am currently running Putty on my XP box to run tests on a
> Linux box. I need to automate these tests and thought it would be fun to
> do so from a Linux VMWare Image I recently setup. Does this sound
> do-able without too much effort? I already know the Linux commands I
> need to run but just need an interactive shell connection through SSH.
> Again is Python a good choice for this or something else?
> Thanks,
For something like this, I'd probably use Pexpect:
http://www.noah.org/wiki/Pexpect#Overview
More information about the Python-list
mailing list