Skip to content

Instantly share code, notes, and snippets.

@dvliman
Created February 10, 2017 00:36
Show Gist options
  • Save dvliman/bb3cfd47939408cd60018843ceb9311b to your computer and use it in GitHub Desktop.
Save dvliman/bb3cfd47939408cd60018843ceb9311b to your computer and use it in GitHub Desktop.
.ssh-config
Host sin-bastion
User dliman
HostName 52.220.46.107
ForwardAgent yes
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
ControlPersist 10m
Host prodsg-*
ProxyCommand ssh sin-bastion -AW %h:%p
User dliman
Host prod-sg-*
ProxyCommand ssh sin-bastion -AW %h:%p
User dliman
Host aries
User dliman
HostName aries.tigertext.me
ForwardAgent yes
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
ControlPersist 10m
Host prod*
ProxyCommand ssh aries -AW %h:%p
User dliman
Host dev*
ProxyCommand ssh aries -AW %h:%p
User dliman
Host qa-*
ProxyCommand ssh aries -AW %h:%p
User dliman
Host uat-*
ProxyCommand ssh aries -AW %h:%p
User dliman
Host stag*
ProxyCommand ssh aries -AW %h:%p
User dliman
Host leo
User dliman
HostName leo.tigertext.me
ForwardAgent yes
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
ControlPersist 10m
Host bastion
User dliman
HostName [host-ip]
Host devbastion
User dliman
HostName 184.72.141.112
ForwardAgent yes
Host ltbastion
User dliman
HostName 54.236.210.242
ForwardAgent yes
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
ControlPersist 10m
Host lt-*
ProxyCommand ssh ltbastion -AW %h:%p
User dliman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment