config 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. ##### My (demuredemeanor) ~/.ssh/config
  2. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
  3. # https://notabug.org/demure/dotfiles/
  4. # legacy repo http://github.com/demure/dotfiles
  5. ## If you are reading this, read:
  6. # http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html
  7. ### Internet Places ### {{{
  8. ### DD ### {{{
  9. host dd
  10. hostName demu.red
  11. Port 500
  12. host ddx
  13. hostName demu.red
  14. Port 500
  15. ForwardX11 yes
  16. ForwardX11Trusted no
  17. Host ddgpg
  18. HostName demu.red
  19. Port 500
  20. #RemoteForward /home/demure/.gnupg/S.gpg-agent /home/demure/.gnupg/S.gpg-agent.extra
  21. #RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
  22. RemoteForward /home/demure/.gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
  23. ## for dd to sdf irc
  24. Host ddirc
  25. HostName ma.sdf.org
  26. LocalForward 2003 irc.sdf.org:6667
  27. User demure
  28. ServerAliveCountMax 300
  29. ServerAliveInterval 15
  30. ### End DD ### }}}
  31. ### lair ### {{{
  32. host lair lt
  33. hostName lair.tel
  34. Port 500
  35. ### End lair ### }}}
  36. ### SDF ### {{{
  37. host ma
  38. HostName ma.sdf.org
  39. host meta
  40. HostName meta.sdf.org
  41. host bb
  42. HostName meta.sdf.org
  43. RemoteCommand bboard
  44. RequestTTY yes
  45. host max
  46. HostName ma.sdf.org
  47. #ForwardAgent no
  48. ForwardX11 yes
  49. #ForwardX11Timeout 596h
  50. ForwardX11Trusted no
  51. host sdf
  52. HostName tty.sdf.org
  53. host ircd
  54. hostName irc.sdf.org
  55. Port 222
  56. User ircd
  57. ### End SDF ### }}}
  58. ### Tilde ### {{{
  59. host team
  60. hostName tilde.team
  61. ### End Tilde ### }}}
  62. host mdns
  63. hostName demure.mdns.org
  64. Port 8080
  65. host sleep
  66. hostName sleepermud.net
  67. host gnu
  68. hostName fencepost.gnu.org
  69. ### End Internet Places ### }}}
  70. ### VPN ### {{{
  71. host wgvps
  72. hostName 10.0.10.1
  73. host wgroute
  74. hostName 10.0.10.2
  75. host wgdoom
  76. hostName 10.0.10.3
  77. host wgstore
  78. hostName 10.0.10.4
  79. ### End VPN ### }}}
  80. ### Local Places ### {{{
  81. host comp doom
  82. hostName moving-computer-of-doom.local
  83. host route
  84. hostName 10.0.0.1
  85. Port 500
  86. User root
  87. ## NAS container for easy rsync
  88. host nas_fs nfs
  89. hostName 10.0.0.10
  90. Port 502
  91. User root
  92. host deck
  93. hostName deck-of-doom.lan
  94. Port 22
  95. User deck
  96. host clock
  97. hostName pi-clock.lan
  98. User pi
  99. ### End Local Places ### }}}
  100. ## Default settings, unless overridden above
  101. host *
  102. User demure
  103. Port 22
  104. ## Disabled to speed up connections
  105. ## Default should be off anyway
  106. #GSSAPIAuthentication no
  107. ## https://pthree.org/2013/05/30/openssh-keys-and-the-drunken-bishop/
  108. VisualHostKey yes
  109. ## Speed up subsequent connections
  110. ControlMaster auto
  111. ControlPath /tmp/ssh_mux_%h_%p_%r
  112. ControlPersist 1h