Created
December 16, 2015 04:57
-
-
Save rishabhmhjn/f98954215e08e83fc60d to your computer and use it in GitHub Desktop.
SSH remote login via app-nat to app-remote
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 app-nat | |
Hostname app-nat.example.com | |
User app-nat-user | |
IdentityFile ~/.ssh/app-nat-id_rsa | |
Host app-remote | |
ProxyCommand ssh -q app-nat nc app-remote.example.com 22 | |
User app-remote-user | |
IdentityFile ~/.ssh/app-remote-id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment