view .ssh/config @ 45:183d95ce098c

* More portable, should work on Linux (previous one needed another escape which broke the match on Macs)
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Wed, 23 Jun 2010 20:11:47 +0000
parents 9373507ce560
children 82999776304f
line wrap: on
line source

# Turn things off for stovetop - it chokes on them
Host stovetop stovetop.astro.princeton.edu
  ForwardAgent no
  ForwardX11 no
  ForwardX11Trusted no

# Allow everything for astro and home hosts w/ FQDN
Host *.astro.princeton.edu *.srhuston.net
  ForwardAgent yes
  ForwardX11 yes
  ForwardX11Trusted yes

# Deny everything for other hosts w/ a dot
Host *.*
  ForwardAgent no
  ForwardX11 no
  ForwardX11Trusted no

# Now allow for anything else - if we're typing a single hostname, it's likely
# trusted.
Host *
  ForwardAgent yes
  ForwardX11 yes
  ForwardX11Trusted yes