Your best bet is to just fix ssh to work with public keys, it will be
much more secure, what happens if someone does a ps xa and sees the
password you are trying feed ssh?

Julia Case
Frodo Lives!


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Philip Mak
Sent: Friday, July 06, 2001 1:31 PM
To: [EMAIL PROTECTED]
Subject: How to make ssh not read password from terminal?


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