config 2.9 KB

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