Trying to think of a way to ssh without interactivity and not using the publickey...
Maybe something like this. I execute ssh host and then wait 1 second and then echo the password into stdin. Just experimenting. Would there be a way to get this right?
`ssh host` < sleep 1; echo 'password\n' 1>&0
Last edited by trist007; 07-24-2010 at 11:30 PM.