config 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. ### SDF ### {{{
  32. host ma
  33. HostName ma.sdf.org
  34. host meta
  35. HostName meta.sdf.org
  36. host bb
  37. HostName meta.sdf.org
  38. RemoteCommand bboard
  39. RequestTTY yes
  40. host max
  41. HostName ma.sdf.org
  42. #ForwardAgent no
  43. ForwardX11 yes
  44. #ForwardX11Timeout 596h
  45. ForwardX11Trusted no
  46. host sdf
  47. HostName tty.sdf.org
  48. host cork
  49. hostName ma.sdf.org
  50. ProxyCommand corkscrew proxy.example.com 8080 %h %p
  51. host matiny
  52. hostName localhost
  53. Port 63753
  54. host ircd
  55. hostName irc.sdf.org
  56. Port 222
  57. User ircd
  58. ### End SDF ### }}}
  59. ### Tilde ### {{{
  60. host team
  61. hostName tilde.team
  62. ### End Tilde ### }}}
  63. host mdns
  64. hostName demure.mdns.org
  65. Port 8080
  66. host sleep
  67. hostName sleepermud.net
  68. host gnu
  69. hostName fencepost.gnu.org
  70. ### End Internet Places ### }}}
  71. ### VPN ### {{{
  72. host wgvps
  73. hostName 10.0.10.1
  74. host wgroute
  75. hostName 10.0.10.2
  76. host wgdoom
  77. hostName 10.0.10.3
  78. ### End VPN ### }}}
  79. ### Local Places ### {{{
  80. host comp doom
  81. hostName moving-computer-of-doom.lan
  82. host tiny
  83. HostName tiny-server-of-doom.lan
  84. host net
  85. HostName moving-netbook-of-doom.lan
  86. host device
  87. HostName moving-device-of-doom.lan
  88. User mobile
  89. host route
  90. hostName 10.0.0.1
  91. Port 500
  92. User root
  93. host wifi
  94. hostName 10.0.0.2
  95. Port 500
  96. User root
  97. ## NAS container for easy rsync
  98. host nas_fs nfs
  99. hostName 10.0.0.10
  100. Port 502
  101. User root
  102. host clock
  103. hostName pi-clock.lan
  104. User pi
  105. ### End Local Places ### }}}
  106. ## Default settings, unless overridden above
  107. host *
  108. User demure
  109. Port 22
  110. ## Disabled to speed up connections
  111. ## Default should be off anyway
  112. #GSSAPIAuthentication no
  113. ## https://pthree.org/2013/05/30/openssh-keys-and-the-drunken-bishop/
  114. VisualHostKey yes
  115. ## Speed up subsequent connections
  116. ControlMaster auto
  117. ControlPath /tmp/ssh_mux_%h_%p_%r
  118. ControlPersist 1h