config 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Include ~/.orbstack/ssh/config
  2. Include /Users/powellc/.colima/ssh_config
  3. #CanonicalizeHostname yes
  4. #CanonicalDomains elationemr.com unbl.ink onec.me
  5. #
  6. Host *
  7. IdentitiesOnly yes
  8. Host github.com
  9. ServerAliveInterval 300
  10. ServerAliveCountMax 2
  11. AddKeysToAgent yes
  12. IdentityFile ~/.ssh/2022_git
  13. # Home Gitea account:
  14. Host code.unbl.ink git.service 192.168.40.118 gogs*
  15. Port 22
  16. User git
  17. IdentityFile ~/.ssh/2024_git
  18. PreferredAuthentications publickey
  19. PasswordAuthentication no
  20. IdentitiesOnly yes
  21. Host gogs*
  22. Port 2222
  23. # Mailinabox uses root by default
  24. Host box.unbl.ink
  25. IdentityFile ~/.ssh/box_unbl_ink
  26. User root
  27. Host akna.local
  28. User pi
  29. Host sdf.org otaku.sdf.org sverige.freeshell.org
  30. User secstate
  31. Host cosmic.voyage
  32. User secstate
  33. IdentityFile ~/.ssh/cosmic.voyage
  34. Host tilde.club
  35. User secstate
  36. IdentityFile ~/.ssh/powellc
  37. # ChicagoVPS
  38. Host pandora.unbl.ink bt2.unbl.ink
  39. IdentityFile ~/.ssh/pandora
  40. User root
  41. Host bt1.unbl.ink
  42. IdentityFile ~/.ssh/2022_h2_powellc
  43. User root
  44. # LibreELEC
  45. Host ymir.local gerd.local skoll.local thrymr.local tharvis.local thyrmr.local alvaldi.local eggther.local gunnlod.local gridr.local aegir.local fornjot.local
  46. User root
  47. # Bare metal hosts
  48. Host hati.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 polydeuces.local mundilfari.local ijiraq.local
  49. User powellc
  50. IdentityFile ~/.ssh/2022_h2_powellc
  51. # Inside our network, skip strict host key checking
  52. Host *.local *.service
  53. StrictHostKeyChecking no
  54. User root
  55. IdentityFile ~/.ssh/2022_h2_powellc
  56. # Root hosts
  57. Host penobscotbaypress.com atlas.local
  58. User root
  59. #####
  60. ## This does the heavy lifting with homelab negotiation
  61. #####
  62. Host bastion.unbl.ink
  63. Port 33
  64. User powellc
  65. IdentityFile ~/.ssh/2022_h2_powellc
  66. Host rss.lab.unbl.ink
  67. Port 333
  68. User powellc
  69. IdentityFile ~/.ssh/2022_h2_powellc
  70. Host *.local *.service
  71. IdentityFile ~/.ssh/2022_h2_powellc
  72. ServerAliveInterval 300
  73. ServerAliveCountMax 2
  74. AddKeysToAgent yes
  75. VerifyHostKeyDNS no
  76. ## Jail hosts all need a jump
  77. Match exec "onsubnet 192.168.40." host *.service
  78. User root
  79. IdentityFile ~/.ssh/jails
  80. Hostname %h
  81. Match exec "onsubnet --not 192.168.40." host *.service
  82. User root
  83. IdentityFile ~/.ssh/jails
  84. Hostname %h
  85. ProxyJump bastion.unbl.ink