config 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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.244
  15. User git
  16. IdentityFile ~/.ssh/2024_git
  17. PreferredAuthentications publickey
  18. PasswordAuthentication no
  19. IdentitiesOnly yes
  20. # Mailinabox uses root by default
  21. Host box.unbl.ink
  22. IdentityFile ~/.ssh/box_unbl_ink
  23. User root
  24. Host akna.local
  25. User pi
  26. Host sdf.org otaku.sdf.org sverige.freeshell.org
  27. User secstate
  28. Host cosmic.voyage
  29. User secstate
  30. IdentityFile ~/.ssh/cosmic.voyage
  31. Host tilde.club
  32. User secstate
  33. IdentityFile ~/.ssh/powellc
  34. # ChicagoVPS
  35. Host pandora.unbl.ink bt2.unbl.ink
  36. IdentityFile ~/.ssh/pandora
  37. User root
  38. Host bt1.unbl.ink
  39. IdentityFile ~/.ssh/2022_h2_powellc
  40. User root
  41. # LibreELEC
  42. 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
  43. User root
  44. # Bare metal hosts
  45. 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
  46. User powellc
  47. IdentityFile ~/.ssh/2022_h2_powellc
  48. # Inside our network, skip strict host key checking
  49. Host *.local *.service
  50. StrictHostKeyChecking no
  51. User root
  52. #IdentityFile ~/.ssh/2022_h2_powellc
  53. IdentityFile ~/.ssh/jails
  54. # Root hosts
  55. Host penobscotbaypress.com atlas.local
  56. User root
  57. #####
  58. ## This does the heavy lifting with homelab negotiation
  59. #####
  60. Host bastion.unbl.ink
  61. Port 33
  62. User powellc
  63. IdentityFile ~/.ssh/2022_h2_powellc
  64. Host rss.lab.unbl.ink
  65. Port 333
  66. User powellc
  67. IdentityFile ~/.ssh/2022_h2_powellc
  68. Host *.local *.service
  69. IdentityFile ~/.ssh/2022_h2_powellc
  70. ServerAliveInterval 300
  71. ServerAliveCountMax 2
  72. AddKeysToAgent yes
  73. VerifyHostKeyDNS no
  74. Host 67.205.184.201 life.unbl.ink
  75. User root
  76. IdentityFile ~/.ssh/1904_powellc
  77. ## Jail hosts all need a jump
  78. Match exec "onsubnet 192.168.40." host *.service
  79. User root
  80. IdentityFile ~/.ssh/jails
  81. Hostname %h
  82. Match exec "onsubnet --not 192.168.40." host *.service
  83. User root
  84. IdentityFile ~/.ssh/jails
  85. Hostname %h
  86. ProxyJump bastion.unbl.ink