open remote terminal
f.braennstroem at gmx.de
Sat Oct 20 13:52:52 CEST 2007
Fabian Braennstroem wrote:
> Hi Steve,
> Steve Holden wrote:
>> Fabian Braennstroem wrote:
>>> 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?
>> pexpect would be the usual solution, I believe, if you could get it to
>> interact correctly with your virtual terminal.
I actually gave it a first very simple try:
Unfortunately nothing happens expect the start of xterm!? Does anyone have
an idea, what I am doing wrong?
More information about the Python-list