Skip to content

Instantly share code, notes, and snippets.

@lirenlin
Last active November 15, 2018 15:08
Show Gist options
  • Save lirenlin/663d2a88781291c22fbf2f052a4da150 to your computer and use it in GitHub Desktop.
Save lirenlin/663d2a88781291c22fbf2f052a4da150 to your computer and use it in GitHub Desktop.
ssh forwarding
.ssh/config
Host *
ForwardAgent yes
eval `ssh-agent -s`
ssh-add
ssh -A xx@xxx
https://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment