Files
dotfiles/ssh/.ssh/config

105 lines
2.1 KiB
Plaintext

Include /Users/powellc/.colima/ssh_config
#CanonicalizeHostname yes
#CanonicalDomains elationemr.com unbl.ink onec.me
#
Host *
IdentitiesOnly yes
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 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
# ChicagoVPS
Host pandora.unbl.ink bt2.unbl.ink
IdentityFile ~/.ssh/pandora
User root
# LibreELEC
Host ymir.local gerd.local skoll.local thrymr.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 siarnaq.local skathi.local tarvos.local rhea.local erriapus.local mimas.local
User powellc
IdentityFile ~/.ssh/2022_h2_powellc
# Inside our network, skip strict host key checking
Host *.local *.service
StrictHostKeyChecking no
User root
IdentityFile ~/.ssh/2022_h2_powellc
# Root hosts
Host penobscotbaypress.com atlas.local
User root
#####
## This does the heavy lifting with homelab negotiation
#####
Host bastion.unbl.ink
Port 33
User powellc
IdentityFile ~/.ssh/2022_h2_powellc
Host rss.lab.unbl.ink
Port 333
User powellc
IdentityFile ~/.ssh/2022_h2_powellc
Host *.local *.service
IdentityFile ~/.ssh/2022_h2_powellc
ServerAliveInterval 300
ServerAliveCountMax 2
AddKeysToAgent yes
VerifyHostKeyDNS no
## Jail hosts all need a jump
Host *.local 192.168.40.* *.service
User root
IdentityFile ~/.ssh/jails
Hostname %h
#ProxyJump bastion.unbl.ink