Created
April 3, 2015 01:36
-
-
Save gmas/43dd0c179d46eb834824 to your computer and use it in GitHub Desktop.
SSH through jump server
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
#ssh_config | |
#use with ssh -F ssh_config user@<TARGET_SERVER_IP> | |
Host * | |
ServerAliveInterval 60 | |
TCPKeepAlive yes | |
ProxyCommand ssh -q -A gmasgras@<JUMP_SERVER_IP> nc %h %p | |
ControlMaster auto | |
ControlPath ~/.ssh/mux-%r@%h:%p | |
ControlPersist 8h | |
User ubuntu | |
StrictHostKeyChecking no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment