Skip to content

Instantly share code, notes, and snippets.

@wrboyce
Created August 11, 2011 09:12
Show Gist options
  • Select an option

  • Save wrboyce/1139217 to your computer and use it in GitHub Desktop.

Select an option

Save wrboyce/1139217 to your computer and use it in GitHub Desktop.
Host jumpbox
Hostname jumpbox.domain.com
Port 2020
PasswordAuthentication no
Host *.domain.local
ProxyCommand ssh jumpbox -- nc %h %p
PasswordAuthentication no
# for tab completion goodness
Host ldap0.domain.local
Host z000.domain.local
Host z001.domain.local
Host mta00.domain.local
Host mail0.domain.local
Host mail1.domain.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment