Password from open filedescriptor

Edward Avis epa98 at doc.ic.ac.uk
Mon Apr 22 22:35:57 EST 2002


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

On Mon, 22 Apr 2002, Peter Astrand wrote:

>ssh-agent, as far as I know, only handles keys for public key
>authentication. I need to use the "password" authentication method.
>ssh-agent does not handle this, right?

Since we are talking about adding features:

It would be cool if you could store your password in a file encrypted
with your public key.  Then when ssh runs it prompts for a passphrase to
read the private key, uses that to decrypt the password and sends it to
the remote server.  That way you could use a single keypair and
passphrase for all your connections - even if the remote end requires a
plain old password.  The passphrase for your private key would be
remembered by ssh-agent as usual.  So once you have encrypted the
password and stored it in a file you wouldn't have to type it again.

(Of course it is usually better to do things properly and copy your
public key across to the other end - but I'm assuming that in this
situation, for some reason, that isn't possible.  Also it might not be
considered good practice to store the password anywhere, even if it is
encrypted.)

- -- 
Ed Avis <epa98 at doc.ic.ac.uk>
Finger for PGP key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8xAOuIMp73jhGogoRAlS9AJ0WwiOWXMD9kCQTuMETVTs0u3dhaACghxJQ
JURhqegvdf4YE4Tyg2Pqu3s=
=nC67
-----END PGP SIGNATURE-----




More information about the openssh-unix-dev mailing list