Skip to content

Instantly share code, notes, and snippets.

@laszlomiklosik
Created August 3, 2015 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laszlomiklosik/e85804a3fa55efd81f46 to your computer and use it in GitHub Desktop.
Save laszlomiklosik/e85804a3fa55efd81f46 to your computer and use it in GitHub Desktop.
SSH key forwarding on Mac OS
Steps:
1. run: ssh-add
2. when connecting use: ssh -A DEST_SERVER_NAME
inspiration:
http://apple.stackexchange.com/questions/37184/ssh-a-doesnt-properly-enable-forwarding-of-authentication-agent-connection
Note: no changes in ssh_config are necessary (as described in https://developer.github.com/guides/using-ssh-agent-forwarding/#setting-up-ssh-agent-forwarding)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment