Created
March 9, 2016 09:23
-
-
Save tyrcho/72b5a5234e3722c5ea6f to your computer and use it in GitHub Desktop.
ssh configuration to connect through a bastion (gateway)
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 * | |
ServerAliveInterval 60 | |
StrictHostKeyChecking no | |
Host dockercobai | |
Hostname oscobai064s | |
ProxyCommand ssh -W %h:%p bastion | |
ForwardAgent yes | |
User www | |
IdentityFile "/c/Utilisateurs/a518291/.ssh/id_rsa_bastion" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment