python connect to server using SSH protocol

P at draigBrady.com P at draigBrady.com
Tue Feb 8 08:13:27 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).
> 
> Any suggestion?

you can use popen around the ssh binary.
You man need the pty module if you want to deal with password prompts
If you want lower level control, use the twisted module.

-- 
Pádraig Brady - http://www.pixelbeat.org
--



More information about the Python-list mailing list