Adding an SSH private key to the Mac keychain
To add a private key to the system keychain, in a terminal:
# /usr/bin/ssh-add -K ~/.ssh/private-key
Pay attention to launch Apple's ssh-add
in /usr/bin
in case you upgraded OpenSSH with MacPorts or Homebrew.
Written by Gregory Pakosz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mac
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#