Help with Popen3 objects and ssh... Python 2.x

Dan Maas dmaas at nospam.dcine.com
Fri Apr 20 22:34:05 EDT 2001


>> I need to run and get the result of a command on a remote server
>> through an ssh client.
>> I can't find the way to send the password to the server. But I'm always
>> asked interactively for the password through the console despite I
>> write the "sh.tochild.write(passwd)"

I posted the solution to this group some weeks ago:
http://groups.google.com/groups?q=python+ssh+maas&hl=en&lr=&safe=off&rnum=1&seld=915710696&ic=1

Regards,
Dan



More information about the Python-list mailing list