21 lines
538 B
Diff
21 lines
538 B
Diff
|
--- sshd_config
|
||
|
+++ sshd_config
|
||
|
@@ -53,7 +53,7 @@
|
||
|
#IgnoreRhosts yes
|
||
|
|
||
|
# To disable tunneled clear text passwords, change to no here!
|
||
|
-#PasswordAuthentication yes
|
||
|
+PasswordAuthentication no
|
||
|
#PermitEmptyPasswords no
|
||
|
|
||
|
# Change to no to disable s/key passwords
|
||
|
@@ -78,7 +78,7 @@
|
||
|
# If you just want the PAM account and session checks to run without
|
||
|
# PAM authentication, then enable this but set PasswordAuthentication
|
||
|
# and ChallengeResponseAuthentication to 'no'.
|
||
|
-#UsePAM no
|
||
|
+UsePAM yes
|
||
|
|
||
|
#AllowTcpForwarding yes
|
||
|
#GatewayPorts no
|