Bug 618

Summary: askpass connect to ssh-agent?
Product: Portable OpenSSH Reporter: Han-Wen Nienhuys <hanwen>
Component: MiscellaneousAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED WONTFIX    
Severity: enhancement    
Priority: P2    
Version: 3.6.1p2   
Hardware: All   
OS: All   

Description Han-Wen Nienhuys 2003-07-15 19:04:00 AEST
It would be nice if the askpass program (I'm using the one for gnome supplied
with RedHat 9) would also have a button "ssh-add this passphrase". 

Perhaps there might be some security concern for not implementing it, but I
couldn't think of any.
Comment 1 Damien Miller 2003-12-16 23:29:46 AEDT
The gnome-ssh-askpass is meant to be a very minimal program, that includes just
enough functionality to get the job done. Therefore, I'm not really interested
in adding more features to it.

That being said, it is very simple code to modify yourself. There may be a
"market" for an enhanced version, if someone wanted to maintain it (not me).
Comment 2 Jim Knoble 2003-12-17 07:54:57 AEDT
> It would be nice if the askpass program (I'm using the one for gnome
> supplied with RedHat 9) would also have a button "ssh-add this
> passphrase". 
> 
> Perhaps there might be some security concern for not implementing it,
> but I couldn't think of any.

[Note: I am the maintainer of x11-ssh-askpass.]

How would ssh-askpass figure out which key you mean by a particular
passphrase?  It would be a better idea to either (a) use a different
program to create a dialog for choosing the key(s) to add, and then call
ssh-add for all of them (which would then automatically use ssh-askpass,
assuming $DISPLAY is set and stdin is not a terminal); or (b) configure
the file manager to "open" a key using ssh-add, so that you can then
add the key using the familiar interface of the file manager.
Comment 3 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED