Skip to content

Instantly share code, notes, and snippets.

@bastiankoetsier
Created November 7, 2014 07:50
Show Gist options
  • Save bastiankoetsier/74f917112f4f8febd357 to your computer and use it in GitHub Desktop.
Save bastiankoetsier/74f917112f4f8febd357 to your computer and use it in GitHub Desktop.
SSH via jumphost in ssh-config
Host jumphost
Hostname JUMPHOST_IP
(User USERNAME_JUMPHOST)
Host target
Hostname TARGET_IP
(User USERNAME_TARGET)
ProxyCommand ssh -q -A -x jumphost -W %h:%p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment