config 2.6 KB

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