Files
dotfiles/ssh/.ssh/config

111 lines
2.1 KiB
Plaintext

#CanonicalizeHostname yes
#CanonicalDomains elationemr.com internal.elationemr.com unbl.ink onec.me
#
Host *
IdentitiesOnly=yes
Host bastion.unbl.ink
Port 33
User powellc
IdentityFile ~/.ssh/jails
Host *.local
IdentityFile ~/.ssh/2022_h2_powellc
ServerAliveInterval 300
ServerAliveCountMax 2
AddKeysToAgent yes
VerifyHostKeyDNS no
Host rss.lab.unbl.ink
Port 333
User powellc
IdentityFile ~/.ssh/2022_h2_powellc
Host github.com
ServerAliveInterval 300
ServerAliveCountMax 2
AddKeysToAgent yes
IdentityFile ~/.ssh/2022_git
# Home Gitea account:
Host code.unbl.ink git.service 192.168.40.118 gogs*
Port 2222
User git
IdentityFile ~/.ssh/2022_git
PreferredAuthentications publickey
PasswordAuthentication no
IdentitiesOnly yes
Host gogs*
Port 2222
# Mailinabox uses root by default
Host box.unbl.ink
IdentityFile ~/.ssh/box_unbl_ink
User root
Host box.castine.town
IdentityFile ~/.ssh/box_castine_town
User root
Host akna.local
User pi
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 bastion*
Port 33
User powellc
Host snap2*.local
User powellc
# ChicagoVPS
Host pandora.unbl.ink bt2.unbl.ink
IdentityFile ~/.ssh/pandora
User root
# Inside our network, skip strict host key checking
Host *.local *.service
StrictHostKeyChecking no
# LibreELEC
Host ymir.local gerd.local skoll.local
User root
# Bare metal hosts
Host hati.local aegir.local tarqeq.local daphnis.local loge.local hyperion.local dione.local phoebe.local iapetus.local titan.local paaliaq.local kiviuq.local kari.local atlas.local siarnaq.local skathi.local tarvos.local rhea.local
User powellc
IdentitiesOnly yes
# PBP uses root user
Host penobscotbaypress.com
User root
Host bastion.unbl.ink
Port 33
IdentityFile ~/.ssh/2022_h2_powellc
## Jail hosts all need a jump
Host *.local 192.168.40.* *.service
User root
IdentityFile ~/.ssh/jails
Hostname %h
#ProxyJump bastion.unbl.ink