openssh-9.0p1-sshd_config.patch 808 B

123456789101112131415161718192021222324252627282930
  1. diff -ruN a/sshd_config b/sshd_config
  2. --- a/sshd_config 2022-04-06 02:47:48.000000000 +0200
  3. +++ b/sshd_config 2022-10-10 19:55:58.961117951 +0200
  4. @@ -58,7 +58,7 @@
  5. #PermitEmptyPasswords no
  6. # Change to no to disable s/key passwords
  7. -#KbdInteractiveAuthentication yes
  8. +KbdInteractiveAuthentication no
  9. # Kerberos options
  10. #KerberosAuthentication no
  11. @@ -79,7 +79,7 @@
  12. # If you just want the PAM account and session checks to run without
  13. # PAM authentication, then enable this but set PasswordAuthentication
  14. # and KbdInteractiveAuthentication to 'no'.
  15. -#UsePAM no
  16. +UsePAM yes
  17. #AllowAgentForwarding yes
  18. #AllowTcpForwarding yes
  19. @@ -88,7 +88,7 @@
  20. #X11DisplayOffset 10
  21. #X11UseLocalhost yes
  22. #PermitTTY yes
  23. -#PrintMotd yes
  24. +PrintMotd no
  25. #PrintLastLog yes
  26. #TCPKeepAlive yes
  27. #PermitUserEnvironment no