Scripting SSH with Python

Lenny Self lenny at squiggie.com
Tue Oct 24 16:21:30 EDT 2000


Hello, all.

I am scripting SSH or actually rsync using ssh and I am in need of a bit of
help.  When I make the SSH connection I am prompted to enter a password...
my problem is that I don't know how to look for this promt and have the
script submit the password for me.  Can anyone give me some help on this.

I have been experimenting with os.popen and os.popen3 but I am either
looking in the wrong spot or I am not doing it correctly.

Any help would be greatly appriciated.

    -- Lenny





More information about the Python-list mailing list