Files
dotfiles/ssh/.ssh/config
2021-12-04 10:23:26 -05:00

131 lines
2.4 KiB
Plaintext

#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 code.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 bastion.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 kiviuq.local
User powellc
Host kari.local
User powellc
Host atlas.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
# Git uses it's own port
Host code.local
Port 222
#
## Jail hosts all need a jump
Host *.local 192.168.1.*
User root
IdentityFile ~/.ssh/jails
Hostname %h
ProxyJump bastion.unbl.ink
Host *.cloud51
HostName %h
User colin
IdentityFile ~/.ssh/ff_cloud51_rsa
ProxyJump bastion.cloud51.15five.com
LocalForward 127.0.0.1:5437 db.mirror0.cloud51:5432
Port 155
ServerAliveInterval 30
ServerAliveCountMax 3
AddKeysToAgent yes
Host bastion.cloud51.15five.com
User colin
IdentityFile ~/.ssh/ff_cloud51_rsa
Port 155
AddKeysToAgent yes
Host *.cloud100
HostName %h
User colin
IdentityFile ~/.ssh/ff_cloud100_rsa_2021q3
ProxyJump bastion.cloud100.15five.com
LocalForward 127.0.0.1:5437 db.mirror0.cloud100:5432
Port 155
ServerAliveInterval 30
ServerAliveCountMax 3
AddKeysToAgent yes
Host bastion.cloud100.15five.com
User colin
IdentityFile ~/.ssh/ff_cloud100_rsa_2021q3
Port 155
AddKeysToAgent yes
Host 192.168.1.238
Port 2222