[PATCH] PreferAskpass in ssh_config

Damien Miller djm at mindrot.org
Tue Oct 5 07:20:59 EST 2004


Ben Lindstrom wrote:
> 
> On Mon, 4 Oct 2004, Sebastian Schmidt wrote:
> 
> 
>>On Sun, Oct 03, 2004 at 11:19:56AM -0500, Ben Lindstrom wrote:
>>
>>>And this solves what real world problem?
>>
>>No keyboard grab when being prompted for passwords (w/o key auth) or for
>>passphrases (when generating one with ssh-keygen), etc.
> 
> 
> ssh-keygen doesn't use ssh-agent.. So again I ask what are you talking
> about?

No, but ssh-keygen does use read_passphrase() and can therefore use
SSH_ASKPASS. Try:

ssh-keygen -f /tmp/xk -t rsa < /dev/null




More information about the openssh-unix-dev mailing list