Skip to content

Instantly share code, notes, and snippets.

@nicovalencia
Last active August 29, 2015 14:07
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 nicovalencia/f24dae7ccccdebef2263 to your computer and use it in GitHub Desktop.
Save nicovalencia/f24dae7ccccdebef2263 to your computer and use it in GitHub Desktop.
# Use to proxy commands through a proxy server:
Host your_destination_name
HostName your.destination
ProxyCommand ssh -i ~/.ssh/your_key -A -q your_user@your.proxy nc -q0 your.destination 22
ForwardAgent yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment