Created
March 22, 2015 20:15
-
-
Save scemama/7671a862ac00f0c0c80f to your computer and use it in GitHub Desktop.
SSH through a gateway
This file contains 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 target.host.domain target | |
User username_on_target | |
HostName target.host.domain | |
ProxyCommand ssh username_on_gateway@gateway.host.domain nc %h %p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment