Try looking at expect scripts:

http://expect.nist.gov/
http://rootprompt.org/article.php3?article=3D5760

sven

On Wed, 24 May 2006 14:57:20 -0400, "Richard L Ross"
said:
>=20
> Running a mix of OpenSSH 4.3p2 and 3.8.1p1 (AIX5.3, Fedora 5 and
> Cygwin). Is there a capability or way where the passphrase can be read
> from stdin vs tty? Some other SSH implementations have a '-p' option to
> perform this. Looking for a way to automate entering the passphrase
> during the ssh-add process.
> Thanks
> Richard Ross

--=20
Sven =C9douard
sven_edouard@fastmail.co.uk

--=20
http://www.fastmail.fm - IMAP accessible web-mail