Re: askpass option

[email protected] (Niels Möller) 27 Jan 2005 14:18:34 +0100
Newsgroups gmane.network.lsh.bugs
Message-ID <[email protected]>
Georg Sauthoff <[email protected]> writes:

> > It might be useful (do you have any example scenarios?), but doesn't
> 
> yes. I think of a password agent, which caches different passwords
> for different accounts (i.e. hosts + usernames).

Hmm, I wouldn't recommend using the askpass feature for that, it seems
like a too fuzzy interface; it's an interface for humans, not
machines. Implementing a public key agent (or using an unencrypted
public key, if that is acceptable in the given context) seems more
robust.

If you really want to, you could add the hostname string to the
prompt, so you get

  "Password for [email protected]: "

Feel free to record an "enhancement" bug report at
bugzilla.lysator.liu.se if you would like to have that, so that it
isn't forgotten.

Regards,
/Niels