-
-
Save manugarri/b6a163bbc4c47ecd8a4304a208764f1a to your computer and use it in GitHub Desktop.
bastion ssh configuration. Add this config on ~/.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 *.gerardorf.org !bastion.gerardorf.org | |
User admin | |
IdentityFile ~/.ssh/gerardorf-private-key | |
ProxyCommand ssh -W %h:%p [email protected] | |
Host bastion.gerardorf.org | |
Hostname XXX.XXX.XXX.XXX | |
User admin | |
IdentityFile ~/.ssh/gerardorf-private-key | |
ForwardAgent yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
config to use a bastion as an ssh tunnel for an internal network domain.