Created
December 11, 2017 15:41
-
-
Save andywirv/67e3328e74f98246619b0d2431610727 to your computer and use it in GitHub Desktop.
SSH Tunnel via multiple hosts making use of ~/.ssh/config
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 tunnel | |
Hostname [host_with_access] | |
ProxyJump [bastion_host] | |
LocalForward [local_port] [remote_host]:[remote_port] | |
#Start tunnel with ssh -N tunnel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment