Mac OS X Keychain Support

farr at farr at
Wed Dec 24 18:38:57 EST 2003

You're right.  I don't know what the system would do if it can't open the 
dialog to unlock the keychain; probably the request for the password would 
fail, and ssh would fall back on the standard readpassphrase method.  I'll 
have to test it, however.


Quoting Jakob Schlyter <jakob at>:

> On Tue, 23 Dec 2003 farr at wrote:
> > Someone asked how the system knows it's running a GUI so it can display
> > the "unlock keychain" dialog.  I don't know precisely how Apple does
> > this, but if you ask for a password from a locked keychain, the system
> > automatically calls the unlock function, which is able to display the
> > necessary window widgets.  Since OS X always runs the GUI (except in
> > single user mode), I don't imagine that this is very complicated.
> osx does not always run the gui, as you can access the system remotely.
> something like the mechanism used for X11 & SSH_ASKPASS is likely needed
> here.
> 	jakob

More information about the openssh-unix-dev mailing list