config 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. host ddcomp
  23. hostName localhost
  24. Port 2001
  25. host ddtiny
  26. hostName localhost
  27. Port 2002
  28. ## for dd to sdf irc
  29. Host ddirc
  30. HostName ma.sdf.org
  31. LocalForward 2003 irc.sdf.org:6667
  32. User demure
  33. ServerAliveCountMax 300
  34. ServerAliveInterval 15
  35. ### End DD ### }}}
  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 cork
  54. hostName ma.sdf.org
  55. ProxyCommand corkscrew proxy.example.com 8080 %h %p
  56. host matiny
  57. hostName localhost
  58. Port 63753
  59. ### End SDF ### }}}
  60. host mdns
  61. hostName demure.mdns.org
  62. Port 8080
  63. host sleep
  64. hostName sleepermud.net
  65. host gnu
  66. hostName fencepost.gnu.org
  67. host ppc
  68. hostName deb.ppc64.club
  69. ### End Internet Places ### }}}
  70. ### Local Places ### {{{
  71. host comp doom
  72. hostName moving-computer-of-doom.local
  73. host tiny
  74. HostName tiny-server-of-doom.local
  75. host net
  76. HostName moving-netbook-of-doom.local
  77. host device
  78. HostName moving-device-of-doom.local
  79. User mobile
  80. host route
  81. hostName 10.0.0.1
  82. Port 500
  83. host wifi
  84. hostName 10.0.0.2
  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. ### End Local Places ### }}}
  93. ## Default settings, unless overridden above
  94. host *
  95. User demure
  96. Port 22
  97. ## Disabled to speed up connections
  98. GSSAPIAuthentication no
  99. ## https://pthree.org/2013/05/30/openssh-keys-and-the-drunken-bishop/
  100. VisualHostKey yes
  101. ## Speed up subsequent connections
  102. ControlMaster auto
  103. ControlPath /tmp/ssh_mux_%h_%p_%r
  104. ControlPersist 1h