Password from open filedescriptor

Jason Stone jason at shalott.net
Mon Apr 22 19:59:45 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> The included patch adds a new option to the ssh client:
>
> -d fd   Read the password from file descriptor fd. If you use 0 for fd,
>         the passphrase will be read from stdin.
>
> This is basically the same as GPG:s parameter --passphrase-fd.
>
> Flames about why this is a bad idea goes into /dev/null. I really need
> to do this. There are lots of ugly Expect-hacks out there, but I want
> a more clean solution.

This is not a flame, but I wonder why you need to do this when ssh-agent
is available?

In particular, you mention GPG, which states in the manpage, "Don't use
this option if you can avoid it."  I think that the authors of gpg
consider that feature to be a hack until they can finish gpg-agent (which
is under developement).


 -Jason

 -----------------------------------------------------------------------
 I worry about my child and the Internet all the time, even though she's
 too young to have logged on yet.  Here's what I worry about.  I worry
 that 10 or 15 years from now, she will come to me and say "Daddy, where
 were you when they took freedom of the press away from the Internet?"
	-- Mike Godwin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: See https://private.idealab.com/public/jason/jason.gpg

iD8DBQE8w98cswXMWWtptckRAqi8AJ4xQQn0H+BvOBQxBSanFEDuCIQhCwCcDHJE
H0YdT1YdmwWAav380DAv5P4=
=NxF8
-----END PGP SIGNATURE-----




More information about the openssh-unix-dev mailing list