Fix SSH problems after upgrading to macOS Sierra

Josef Glatz
Productiveness
Published in
1 min readOct 6, 2017

--

After you’ve upgraded your system…

1) add following lines to the “Host *” block of ~/.ssh/config

Host *
UseKeychain yes
AddKeysToAgent yes

Just add the snippet at the very beginning of ~/.ssh/config file if there is no existingHost * configuration block.

2) Then execute the following commands

ssh-add -K ~/.ssh/id_rsa

ssh-add -A

3) Now everything should work like before upgrading to macOS Sierra v10.12.2 and up

--

--