Advertisement
Guest User

Untitled

a guest
Nov 29th, 2023
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. AcceptEnv LANG LC_*
  2. AllowAgentForwarding no
  3. AllowGroups ssh-user
  4. AllowStreamLocalForwarding no
  5. AllowTCPForwarding no
  6. AllowUsers restricted [email protected]/24 [email protected]/24 sftp
  7. AuthenticationMethods publickey,keyboard-interactive:pam
  8. AuthorizedKeysFile .ssh/authorized_keys
  9. Banner /etc/issue.net
  10. ChallengeResponseAuthentication yes
  11. ClientAliveCountMax 6
  12. ClientAliveInterval 30
  13. Compression no
  14. DebianBanner no
  15. DenyGroups root nobody
  16. DenyUsers root nobody
  17. GatewayPorts no
  18. GSSAPIAuthentication no
  19. GSSAPIKeyExchange no
  20. HostbasedAuthentication no
  21. HostKey /etc/ssh/ssh_host_ed25519_key
  22. IgnoreRhosts yes
  23. KbdInteractiveAuthentication no
  24. KerberosAuthentication no
  25. KexAlgorithms [email protected],diffie-hellman-group18-sha512,diffie-hellman-group16-sha512
  26. LoginGraceTime 60
  27. LogLevel VERBOSE
  28. MaxAuthTries 5
  29. maxsessions 5
  30. maxstartups 10:30:60
  31. PasswordAuthentication no
  32. PermitEmptyPasswords no
  33. PermitRootLogin no
  34. PermitTunnel no
  35. PermitUserEnvironment no
  36. PermitUserRC no
  37. Port 65028
  38. PrintMotd no
  39. Protocol 2
  40. PubkeyAuthentication yes
  41. RekeyLimit 512M 1h
  42. StrictModes yes
  43. Subsystem sftp /usr/lib/ssh/sftp-server
  44. TCPKeepAlive no
  45. UsePAM yes
  46. X11Forwarding no
  47.  
  48. Match User sftp
  49. ForceCommand internal-sftp
  50. AuthenticationMethods publickey
  51. PasswordAuthentication no
  52. ChrootDirectory /srv/sftp
  53. PermitTunnel no
  54. AllowAgentForwarding no
  55. AllowTcpForwarding no
  56. X11Forwarding no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement