Problems writting a wrapper around linux' ssh command
Erno Kuusela
erno-news at erno.iki.fi
Sun Mar 11 17:59:32 EST 2001
In article <31rd89.lki.ln at 127.0.0.1>, gradha at iname.com writes:
| Hi.
| I am trying to write a python wrapper around ssh. The last and only problem
| I have is password verification. I try to popen2.popen3 the ssh command,
| but no matter what I write to the input file, the ssh command ignores it
| and keeps requesting *keyboard* input.
| Is there any way to avoid this?
do not embed the password in your python program. use a passphraseless
rsa key instead, it is safer and less pain.
-- erno
More information about the Python-list
mailing list