# source: https://github.com/MaskRay/Config/blob/master/home/.ssh/config
# archive: https://web.archive.org/web/20220327111243/https://github.com/MaskRay/Config/blob/master/home/.ssh/config

Host *
  ServerAliveInterval 180
  HashKnownHosts no
  #AddressFamily inet
  Compression yes
  ControlMaster auto
  ControlPath /tmp/ssh_%r@%h:%p
  ControlPersist 2h
  ForwardAgent yes
  SendEnv LANG LC_ALL

#Host remote
#  Hostname remote^gateway
#  Port remote_port

Host *^*
  ProxyCommand ssh-chain %h %p

Host *
  CanonicalizeHostname Yes
  CanonicalDomains n9.vc
  CanonicalizeMaxDots 1
  CanonicalizeFallbackLocal yes
