Skip to content

Instantly share code, notes, and snippets.

@PickledDragon
Created February 15, 2019 09:49
Show Gist options
  • Save PickledDragon/b90aa5152b73832a0f5a999e1259d2df to your computer and use it in GitHub Desktop.
Save PickledDragon/b90aa5152b73832a0f5a999e1259d2df to your computer and use it in GitHub Desktop.
Host jumphost.domain.net gitlab.domain.net 10.2.2.*
ProxyCommand none
Host *
ProxyCommand ssh -W %h:%p user@jumphost.domain.net
ServerAliveInterval 120
ControlMaster auto
ControlPersist=300s
ControlPath=~/.ssh/%u-at-%h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment