Update: March 9, 2010

Somehow I failed to notice that since 10.5 ssh agent is automatically started by OS X. My script just duplicated work that was already built-in to the OS.

To add a passphrase for a private key just type:

ssh-add -K keyfile_rsa

After this, ssh-agent is started automatically whenever ssh needs it. No extra work needed.


comments powered by Disqus