ssh-add, ssh-agent

René J.V. Bertin rjvbertin at
Wed Oct 15 03:23:07 PDT 2014

On Wednesday October 15 2014 05:19:33 Richard L. Hamilton wrote:

> I gather that the -K option to the Mac native version of ssh-add causes a key to be loaded, and its passphrase to be stored in your Mac keychain if it isn’t already; and subsequently, fetched from there so you don’t need to be prompted for it ever again.

Indeed it does (at least the storing part), thx for pointing that out.

> The man page for the version installed by MacPorts does not appear to mention that capability.

And the executable rejects the -K option.

> I would think you would NOT want to purposely run the MacPorts version of ssh-add if you desire that capability; however, either version of ssh appears to interact with the running ssh-agent correctly.

Indeed they do, presumably because ssh-agent acts as a server.

It'd be worthwhile to (re)consider whether ssh-add/agent ought to be installed by MacPorts in that case...


More information about the macports-users mailing list