LinuxSysAdmin

Things I don't want to look for twice..

Monthly Archives: January 2017

SSH Agent forwarding doesn’t work on MacOS Sierra

So, was pretty sure that “ForwardAgent yes” was added all over my SSH config. And that was working fine, on Linux. When I moved all my stuff to my newly bought Mac, well, discovered that it’s not working anymore. So, actually, 2 lines need to be added to each host configuration:

Host example.com
 User xxx
 IdentityFile ~/.ssh/id_rsa_xxx
 ForwardAgent yes
 AddKeysToAgent yes