Mac terminal keygen

broken image
broken image
broken image

Check with which ssh-add.) Step 2 - Configure SSH to always use the keychain Also, be sure you are using Apple's version of /usr/bin/ssh-add and not something installed with brew etc. (If you're on a pre-Sierra version of OSX, you're done, Step 2 is not required. Just do this once: ssh-add -K ~/.ssh/Įnter your key passphrase, and you won't be asked for it again. On OSX Sierra and later, you also need to configure SSH to always use the keychain (see Step 2 below).Īlternatively you can use a key without a passphrase, but if you prefer the security that's certainly acceptable with this workflow. On OSX, the native ssh-add client has a special argument to save the private key's passphrase in the OSX keychain, which means that your normal login will unlock it for use with ssh.