Skip to content

Instantly share code, notes, and snippets.

@blpabhishek
Created December 17, 2018 10:33
Show Gist options
  • Save blpabhishek/3ca00b793c52dafefeabafd319f60c6b to your computer and use it in GitHub Desktop.
Save blpabhishek/3ca00b793c52dafefeabafd319f60c6b to your computer and use it in GitHub Desktop.
ssh Proxy
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