Menu Home

macOS Sierra: Auto load ssh keys

OS: macOS 10.12.3

Create config file in your ssh folder:

vi ~/.ssh/config

Edit config file:

Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa_build_server
IdentityFile ~/.ssh/id_rsa_mac

Replace the path with the path to you keys.

Categories: macos

Tagged as:

lnmcc