Re: SSH utility

2009-07-07 Thread romeoamp
; c.before, c.after >> >> ('exit\r\nexit\r\n', )>>> exit() >> >> mada...@njwarhqd0it696a:~ >> $ >> --- >> >> hope that helps. >> >> regards. >>

Re: SSH utility

2008-08-11 Thread Sean DiZazzo
;> > c.sendline('exit') > 5 > >>> c.expect([pexpect.TIMEOUT, pexpect.EOF, '\$ ']) > 1 > >>> c.before, c.after > > ('exit\r\nexit\r\n', )>>> exit() > > [EMAIL PROTECTED]:~ > $ >

RE: SSH utility

2008-08-11 Thread Support Desk
What about pexpect? http://www.noah.org/wiki/Pexpect -Original Message- From: Alan Franzoni [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 5:41 AM To: python-list@python.org Subject: Re: SSH utility James Brady was kind enough to say: > Hi all, > I'm looking f

Re: SSH utility

2008-08-11 Thread Michael Mabin
I use pexpect. On Mon, Aug 11, 2008 at 7:22 AM, Jean-Paul Calderone <[EMAIL PROTECTED]>wrote: > On Sun, 10 Aug 2008 21:25:38 -0700 (PDT), James Brady < > [EMAIL PROTECTED]> wrote: > >> Hi all, >> I'm looking for a python library that lets me execute shell commands >> on remote machines. >> >> I'v

Re: SSH utility

2008-08-11 Thread Jean-Paul Calderone
On Sun, 10 Aug 2008 21:25:38 -0700 (PDT), James Brady <[EMAIL PROTECTED]> wrote: Hi all, I'm looking for a python library that lets me execute shell commands on remote machines. I've tried a few SSH utilities so far: paramiko, PySSH and pssh; unfortunately all been unreliable, and repeated quest

Re: SSH utility

2008-08-11 Thread Edwin . Madari
n', ) >>> exit() [EMAIL PROTECTED]:~ $ ------- hope that helps. regards. Edwin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Brady Sent: Monday, August 11, 2008 12:26 AM To

Re: SSH utility

2008-08-11 Thread Kris Kennaway
James Brady wrote: Hi all, I'm looking for a python library that lets me execute shell commands on remote machines. I've tried a few SSH utilities so far: paramiko, PySSH and pssh; unfortunately all been unreliable, and repeated questions on their respective mailing lists haven't been answered..

Re: SSH utility

2008-08-11 Thread Alan Franzoni
James Brady was kind enough to say: > Hi all, > I'm looking for a python library that lets me execute shell commands > on remote machines. > > I've tried a few SSH utilities so far: paramiko, PySSH and pssh; > unfortunately all been unreliable, and repeated questions on their > respective mailing

SSH utility

2008-08-10 Thread James Brady
Hi all, I'm looking for a python library that lets me execute shell commands on remote machines. I've tried a few SSH utilities so far: paramiko, PySSH and pssh; unfortunately all been unreliable, and repeated questions on their respective mailing lists haven't been answered... It seems like the