Re: SSH using PEXPECT

2008-09-18 Thread Almar Klein
Hi, Wanting to use pexpect on windows too, I ran into wexpect. http://sage.math.washington.edu/home/goreckc/sage/wexpect/ I haven't given it a try yet. Does anyone have experience with that? Almar 2008/9/13 nntpman68 <[EMAIL PROTECTED]> > Hi, > > [EMAIL PROTECTED] wrote: > >> On Sep 10, 7:01 pm,

Re: SSH using PEXPECT

2008-09-13 Thread nntpman68
Hi, [EMAIL PROTECTED] wrote: On Sep 10, 7:01 pm, Sean DiZazzo <[EMAIL PROTECTED]> wrote: I am using windows and for reason it wont let me use pexpect even tho I have CYGWIN installed I get the following error Traceback (most recent call last): File "new.py", line 1, in import ssh_se

Re: SSH using PEXPECT

2008-09-11 Thread yellowblueyellow
On Sep 10, 7:01 pm, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > On Sep 10, 6:04 pm, [EMAIL PROTECTED] wrote: > > > > > Hey , I need toSSHinto a server .. (10.8.42.38) usingpexpectthe > > username is 'admin' and password is 'abc123' so far i have the > > following code > > > importpexpect > > import s

Re: SSH using PEXPECT

2008-09-10 Thread Sean DiZazzo
On Sep 10, 6:04 pm, [EMAIL PROTECTED] wrote: > Hey , I need to SSH into a server .. (10.8.42.38) using pexpect the > username is 'admin' and password is 'abc123' so far i have the > following code > > import pexpect > import sys > import time > import os > > foo = pexpect.spawn('ssh [EMAIL PROTECTE

SSH using PEXPECT

2008-09-10 Thread yellowblueyellow
Hey , I need to SSH into a server .. (10.8.42.38) using pexpect the username is 'admin' and password is 'abc123' so far i have the following code import pexpect import sys import time import os foo = pexpect.spawn('ssh [EMAIL PROTECTED]') ssh_newKey = 'Are you sure you want to continue connecti