Created
December 17, 2018 10:33
-
-
Save blpabhishek/3ca00b793c52dafefeabafd319f60c6b to your computer and use it in GitHub Desktop.
ssh Proxy
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
ssh -i ${KEY_FILE} -o ProxyCommand="ssh -i ${KEY_FILE} $2@bastion.$1.example.com nc %h %p" $2@$3 $4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment