Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2022
708
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. # This is the sshd server system-wide configuration file. See
  2. # sshd_config(5) for more information.
  3.  
  4. # The strategy used for options in the default sshd_config shipped with
  5. # OpenSSH is to specify options with their default value where
  6. # possible, but leave them commented. Uncommented options override the
  7. # default value.
  8.  
  9. #Port 22
  10. #AddressFamily any
  11. #ListenAddress 0.0.0.0
  12. #ListenAddress ::
  13.  
  14. #HostKey __PROGRAMDATA__/ssh/ssh_host_rsa_key
  15. #HostKey __PROGRAMDATA__/ssh/ssh_host_dsa_key
  16. #HostKey __PROGRAMDATA__/ssh/ssh_host_ecdsa_key
  17. #HostKey __PROGRAMDATA__/ssh/ssh_host_ed25519_key
  18.  
  19. # Ciphers and keying
  20. #RekeyLimit default none
  21.  
  22. # Logging
  23. #SyslogFacility AUTH
  24. #LogLevel INFO
  25.  
  26. # Authentication:
  27.  
  28. #LoginGraceTime 2m
  29. #PermitRootLogin prohibit-password
  30. #StrictModes yes
  31. #MaxAuthTries 6
  32. #MaxSessions 10
  33.  
  34. #PubkeyAuthentication yes
  35.  
  36. # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
  37. # but this is overridden so installations will only check .ssh/authorized_keys
  38. AuthorizedKeysFile .ssh/authorized_keys
  39.  
  40. #AuthorizedPrincipalsFile none
  41.  
  42. # For this to work you will also need host keys in %programData%/ssh/ssh_known_hosts
  43. #HostbasedAuthentication no
  44. # Change to yes if you don't trust ~/.ssh/known_hosts for
  45. # HostbasedAuthentication
  46. #IgnoreUserKnownHosts no
  47. # Don't read the user's ~/.rhosts and ~/.shosts files
  48. #IgnoreRhosts yes
  49.  
  50. # To disable tunneled clear text passwords, change to no here!
  51. #PasswordAuthentication yes
  52. #PermitEmptyPasswords no
  53.  
  54. # GSSAPI options
  55. #GSSAPIAuthentication no
  56.  
  57. #AllowAgentForwarding yes
  58. #AllowTcpForwarding yes
  59. #GatewayPorts no
  60. #PermitTTY yes
  61. #PrintMotd yes
  62. #PrintLastLog yes
  63. #TCPKeepAlive yes
  64. #UseLogin no
  65. #PermitUserEnvironment no
  66. #ClientAliveInterval 0
  67. #ClientAliveCountMax 3
  68. #UseDNS no
  69. #PidFile /var/run/sshd.pid
  70. #MaxStartups 10:30:100
  71. #PermitTunnel no
  72. #ChrootDirectory none
  73. #VersionAddendum none
  74.  
  75. # no default banner path
  76. #Banner none
  77.  
  78. # override default of no subsystems
  79. Subsystem sftp sftp-server.exe
  80.  
  81. # Example of overriding settings on a per-user basis
  82. #Match User anoncvs
  83. # AllowTcpForwarding no
  84. # PermitTTY no
  85. # ForceCommand cvs server
  86.  
  87. Match Group administrators
  88. AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement