Skip to content

Instantly share code, notes, and snippets.

@nLight
Created June 8, 2016 09:22
Show Gist options
  • Save nLight/f4224d07bc49bc7f3734302ab4677733 to your computer and use it in GitHub Desktop.
Save nLight/f4224d07bc49bc7f3734302ab4677733 to your computer and use it in GitHub Desktop.
SSH Proxy
Host ssh-proxy
HostName proxy.example.com
User ubuntu
IdentityFile ~/.ssh/keys.pem
Host !ssh-proxy *
ProxyCommand ssh -q -W %h:%p ssh-proxy
ForwardAgent yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment