LinuxSysAdmin

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

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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: