Skip to content

Instantly share code, notes, and snippets.

@kalefranz
Created December 18, 2015 13:31
Show Gist options
  • Save kalefranz/e6451db92acb2fddf117 to your computer and use it in GitHub Desktop.
Save kalefranz/e6451db92acb2fddf117 to your computer and use it in GitHub Desktop.
SSH config for proxy
Host 10.32.*.* *.usw2.domain.site !10.32.220.14 !bastion.usw2.domain.site
ServerAliveInterval 60
TCPKeepAlive yes
ProxyCommand ssh -q -A [email protected] nc %h %p
ControlPersist 15m
User username
IdentityFile ~/.ssh/my_key
ControlMaster auto
ControlPath ~/.ansible/ansible-ssh-%h-%p-%r
StrictHostKeyChecking no
LogLevel Quiet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment