Skip to content

Instantly share code, notes, and snippets.

@niquola
Last active December 15, 2015 10:29
Show Gist options
  • Save niquola/5246267 to your computer and use it in GitHub Desktop.
Save niquola/5246267 to your computer and use it in GitHub Desktop.
ssh through gateway with key forwarding
ssh-add your-key
ssh -A -t user@host1 ssh -A -t user@host2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment