I'm trying to do:

echo "password" | ssh host -l user

But it still tries to read my password from the terminal. Does anyone have
a simple solution to make this work?

I'm trying to setup a permanent ssh tunnel between two machines. The
startup file on one machine will need to open the ssh connection to the
other machine.

I thought about using public key authentication, but the ssh-keygen on my
system is broken. I figured it would be easier to just use the password
rather than trying to reinstall ssh. Does anyone know how I can make the
above echo command work the way I want it to?

Reply via email to