Skip to content

Instantly share code, notes, and snippets.

@e-minguez
Created June 15, 2017 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save e-minguez/537814043266b5c5098af8fcf2719e52 to your computer and use it in GitHub Desktop.
Save e-minguez/537814043266b5c5098af8fcf2719e52 to your computer and use it in GitHub Desktop.
Host azbastion
HostName emingueztestb.eastus2.cloudapp.azure.com
User edu
StrictHostKeyChecking no
ProxyCommand none
CheckHostIP no
IdentityFile ~/.ssh/id_rsa_azure
Host azmaster? azinfranode? aznode??
ProxyCommand ssh azbastion -W $(sed -e "s/az//" <<< "%h"):%p
User edu
IdentityFile ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment