python connect to server using SSH protocol
Laszlo Zsolt Nagy
gandalf at geochemsource.com
Tue Feb 8 07:59:48 EST 2005
ajikoe at gmail.com wrote:
>How can python connect to server which use SSH protocol?
>Is it easy since my python has to run third party vendor, write data,
>read data inside the server (supercomputer).
>
>
In advance, I'm not sure if I understood your problem. SSH is clearly a
remote
shell. You will be able to execute other programs on the remote computer.
Is is suitable to use this:
child_stdin,child_stdout,child_stderr = os.popen2('ssh -l my_username
my_host')
On the other side, you can write an application that also uses
stdin/stdout for communication.
Best,
Laci 2.0
--
_________________________________________________________________
Laszlo Nagy web: http://designasign.biz
IT Consultant mail: gandalf at geochemsource.com
Python forever!
More information about the Python-list
mailing list