Advertisement
J2897

sshd_config

Nov 25th, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 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 default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
  5. # but this is overridden so installations will only check .ssh/authorized_keys
  6. AuthorizedKeysFile .ssh/authorized_keys
  7.  
  8. # override default of no subsystems
  9. Subsystem sftp sftp-server.exe
  10.  
  11. # Example of overriding settings on a per-user basis
  12. Port 1337
  13. PasswordAuthentication no
  14. PermitRootLogin yes
  15. MaxAuthTries 3
  16. LoginGraceTime 20
  17. PubkeyAuthentication yes
  18. KbdInteractiveAuthentication no
  19. Match User anoncvs
  20.  
  21. # Match User J2897
  22. # AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
  23.  
  24. Match Group administrators
  25. AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement