Advertisement
Guest User

Untitled

a guest
Dec 23rd, 2021
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 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. #AllowAgentForwarding yes
  55. #AllowTcpForwarding yes
  56. #GatewayPorts no
  57. #PermitTTY yes
  58. #PrintMotd yes
  59. #PrintLastLog yes
  60. #TCPKeepAlive yes
  61. #UseLogin no
  62. #PermitUserEnvironment no
  63. #ClientAliveInterval 0
  64. #ClientAliveCountMax 3
  65. #UseDNS no
  66. #PidFile /var/run/sshd.pid
  67. #MaxStartups 10:30:100
  68. #PermitTunnel no
  69. #ChrootDirectory none
  70. #VersionAddendum none
  71.  
  72. # no default banner path
  73. #Banner none
  74.  
  75. # override default of no subsystems
  76. Subsystem sftp sftp-server.exe
  77.  
  78. # Example of overriding settings on a per-user basis
  79. #Match User anoncvs
  80. # AllowTcpForwarding no
  81. # PermitTTY no
  82. # ForceCommand cvs server
  83.  
  84. Match Group administrators
  85. AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
  86.  
  87.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement