Created
June 11, 2014 04:58
-
-
Save islander/1cdc921664f65f3380d2 to your computer and use it in GitHub Desktop.
proxy ssh connection through NAT
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 external.example.com | |
Hostname 198.51.100.32 | |
User external_login | |
Host internal.example.com | |
Hostname 192.168.2.18 | |
User internal_login | |
ProxyCommand ssh 198.51.100.32 nc %h %p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment