Save your ssh key password on macOS

On macOS Sierra and above, you will need to input your password every time your ssh key is accessed. This can be quite annoying if you need to do it multiple times every hour, and, if your password is complex. You can let macOS handle the password for you, by following the guide below.
Edit ~/.ssh/config
and add the following to the end of the file:
Host *
UseKeychain yes
You can also use the script below to do it for you
Update .ssh/config with “UseKeychain yes” (needed on macOS sierra)
Update .ssh/config with “UseKeychain yes” (needed on macOS sierra) - macos-ssh-use-keychain.sh
