Re: open remote terminal
- From: Steve Holden <steve@xxxxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 11:20:30 -0400
Fabian Braennstroem wrote:
Hi,pexpect would be the usual solution, I believe, if you could get it to interact correctly with your virtual terminal.
I would like to use python to start an terminal, e.g. xterm, and login on a
remote machine using rsh or ssh. This could be done using 'xterm -e ssh
machine', but after the login I would like to jump to a given directory.
Does anyone have an idea how to do this with python?
Regards!
Fabian
http://pexpect.sourceforge.net/
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Sorry, the dog ate my .sigline so I couldn't cat it
.
- Prev by Date: Re: Convert string to command..
- Next by Date: Re: CGI and external JavaScript nightmare
- Previous by thread: open remote terminal
- Next by thread: Re: open remote terminal
- Index(es):
Relevant Pages
|