Created
November 7, 2014 07:50
-
-
Save bastiankoetsier/74f917112f4f8febd357 to your computer and use it in GitHub Desktop.
SSH via jumphost in ssh-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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