#CanonicalizeHostname yes
#CanonicalDomains elationemr.com internal.elationemr.com unbl.ink onec.me

Host *
    ServerAliveInterval 300
    ServerAliveCountMax 2
    AddKeysToAgent yes
    IdentityFile ~/.ssh/1904_powellc
    VerifyHostKeyDNS no

# Home Gitea account:
Host git.unbl.ink
  Port 222
  User git
  IdentityFile ~/.ssh/1904_powellc
  PreferredAuthentications publickey
  PasswordAuthentication no
  IdentitiesOnly yes

# Mailinabox uses root by default
Host box.*
  User root

Host sdf.org
  User secstate

Host otaku.sdf.org
  User secstate

Host sverige.freeshell.org 
  User secstate

Host cosmic.voyage
  User secstate
  IdentityFile ~/.ssh/cosmic.voyage

Host tilde.club
  User secstate
  IdentityFile ~/.ssh/powellc

Host jump.local
  User powellc

# Cloud
Host pandora.unbl.ink
  User root

# Bare metal hosts
Host dione.local 
  User powellc
Host rhea.local
  User powellc
Host phoebe.local
  User powellc
Host prometheus.local 
  User powellc
Host iapetus.local 
  User powellc
Host titan.local
  User powellc
Host paaliaq.local
  User powellc

Host telesto.local
  User root
  IdentityFile ~/.ssh/1904_powellc
Host fifteen5.local
  User root
Host anthe.local
  User root
Host penobscotbaypress.com
  User root

# bhyve VMs
Host mopidy.local
  User powellc
Host jellyfin.local
  User ubuntu

# Git uses it's own port
Host git.local
  Port 222

## Jail hosts all need a jump
Host *.local 192.168.1.*
  User root
  IdentityFile ~/.ssh/jails
  Hostname %h
  ProxyJump jump.unbl.ink

Host bastion.cloud10.15five.com
    IdentityFile ~/.ssh/ff_cloud10_rsa
    Port 155

Host *.cloud10
    HostName %h
    IdentityFile ~/.ssh/ff_cloud10_rsa
    ProxyJump bastion.cloud10.15five.com
    Port 155
