Skip to content

Instantly share code, notes, and snippets.

@sletix
Created October 21, 2019 12:56
Show Gist options
  • Save sletix/61d329bac1495bbee8a89e941a09fe43 to your computer and use it in GitHub Desktop.
Save sletix/61d329bac1495bbee8a89e941a09fe43 to your computer and use it in GitHub Desktop.
ssh_config
Host 10.30.2.* 10.30.0.* 10.30.1.* 10.16.0.* 10.224.0.*
ForwardAgent yes
Hostname %h
User ubuntu
ProxyCommand ssh sletix@212.8.238.10 -W %h:%p
Host 10.31.0.* 10.31.1.*
ForwardAgent yes
Hostname %h
ProxyCommand ssh sletix@212.8.238.20 -q -W %h:%p
StrictHostKeyChecking no
User ubuntu
Host *.auto-zenit-st1.cloud.b-pl.pro 10.112.9.* !bastion*.*.cloud.b-pl.pro
User ubuntu
ProxyCommand ssh sletix@bastion.auto-zenit-st1.cloud.b-pl.pro -W %h:%p
ForwardAgent yes
Host *.auto-zenit-prod.cloud.b-pl.pro 10.112.9.* !bastion*.*.cloud.b-pl.pro
User ubuntu
ProxyCommand ssh sletix@bastion.auto-zenit-prod.cloud.b-pl.pro -W %h:%p
ForwardAgent yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment