view .ssh/config @ 144:c9a2231b009d

More oft-used and non-noteworthy commands
author Steve Huston <huston@astro.princeton.edu>
date Thu, 18 Aug 2016 12:49:21 -0400
parents e3e599ad02f0
children d8596a04bdb1
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

# Floyd only supports protocol 1
Host floyd floyd.astro.princeton.edu
  Protocol 1
  ForwardAgent no
  ForwardX11 no
  ForwardX11Trusted no

# xanadu-vm and syrinx's keys change, let's try to avoid errors
Host xanadu-vm syrinx xanadu-vm.astro.princeton.edu syrinx.astro.princeton.edu
  User huston
  StrictHostKeyChecking no
  ForwardAgent yes
  ForwardX11 yes
  ForwardX11Trusted yes

# Everything is fine for the Raspberry Pi, just need a different user
Host cake cake.srhuston.net
  User pi
  ForwardAgent yes
  ForwardX11 yes
  ForwardX11Trusted yes

# Allow everything for CSES, astro, and home hosts w/ FQDN
Host cses*.princeton.edu *.rc.princeton.edu *.rc *.astro.princeton.edu *.srhuston.net
  User huston
  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 *
  User huston
  ForwardAgent yes
  ForwardX11 yes
  ForwardX11Trusted yes