config 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. ### End VPN ### }}}
  78. ### Local Places ### {{{
  79. host comp doom
  80. hostName moving-computer-of-doom.local
  81. host route
  82. hostName 10.0.0.1
  83. Port 500
  84. User root
  85. ## NAS container for easy rsync
  86. host nas_fs nfs
  87. hostName 10.0.0.10
  88. Port 502
  89. User root
  90. host deck
  91. hostName deck-of-doom.lan
  92. Port 500
  93. User deck
  94. host clock
  95. hostName pi-clock.lan
  96. User pi
  97. ### End Local Places ### }}}
  98. ## Default settings, unless overridden above
  99. host *
  100. User demure
  101. Port 22
  102. ## Disabled to speed up connections
  103. ## Default should be off anyway
  104. #GSSAPIAuthentication no
  105. ## https://pthree.org/2013/05/30/openssh-keys-and-the-drunken-bishop/
  106. VisualHostKey yes
  107. ## Speed up subsequent connections
  108. ControlMaster auto
  109. ControlPath /tmp/ssh_mux_%h_%p_%r
  110. ControlPersist 1h