Include conf.d/*

CanonicalizeHostname yes
CanonicalizeMaxDots 0

Host *
  # https://stribika.github.io/2015/01/04/secure-secure-shell.html
  ChallengeResponseAuthentication no
  Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr
  ControlMaster auto
  ControlPath /tmp/ssh-%r@%h:%p
  ControlPersist 5m
  ForwardX11 no
  GSSAPIAuthentication yes
  GSSAPIDelegateCredentials yes
  HashKnownHosts yes
  HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa
  KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
  MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com
  SendEnv LANG
  ServerAliveCountMax 3
  ServerAliveInterval 120
  VisualHostKey yes
  VerifyHostKeyDNS ask
  # macOS specific
  IgnoreUnknown AddKeysToAgent,UseKeychain
  AddKeysToAgent yes
  UseKeychain yes
  PreferredAuthentications publickey
  # https://developer.1password.com/docs/ssh/get-started#step-4-configure-your-ssh-or-git-client
  IdentityAgent "~/.1password/agent.sock"

Host tufts
  HostName linux.eecs.tufts.edu
  User jjarvi01
  ForwardAgent yes

Host mastodon
  # tailscale IP:
  HostName 100.85.213.20
  User root
  ForwardAgent yes

Host gitea
  # tailscale IP:
  HostName 100.75.40.17
  User root
  ForwardAgent yes

Host y2k
  # tailscale IP:
  HostName 100.79.167.105
  Port 32422
  User root
  ForwardAgent yes

Host nas
  # home net:
  HostName 192.168.20.11
  User jake
  ForwardAgent yes

Host seed
  # home net:
  HostName 192.168.20.12
  User jake
  ForwardAgent yes

Host github.com
  HostName github.com
  User git

Host hashbang
  HostName de1.hashbang.sh
  User jakej

Host *.ssh.wpengine.net
  IdentityFile ~/.ssh/wpe_devkit
