Skip to content

Instantly share code, notes, and snippets.

@duntonr
Created January 5, 2016 05:10
Show Gist options
  • Save duntonr/0474e8ece54529257809 to your computer and use it in GitHub Desktop.
Save duntonr/0474e8ece54529257809 to your computer and use it in GitHub Desktop.
/etc/ansible/ssh.config file for ansible tower + jump box
Host 172.30.*.* ![jump host IP]
ServerAliveInterval 60
TCPKeepAlive yes
ProxyCommand ssh -q -A -W %h:%p -i /etc/ansible/bastionInstanceKey.pem [jump user]@[jump host]
ControlMaster auto
ControlPath ~/.ssh/mux-%r@%h:%p
ControlPersist 8h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment