Clarify the comment on how to disable password authentication (i.e. the
combination of PasswordAuthentication=no and UsePam=yes still allow password authentication). Fixes PR bin/32313 from Curt Sampson.
This commit is contained in:
parent
1a3a1673c8
commit
ab0275b298
4
crypto/external/bsd/openssh/dist/sshd_config
vendored
4
crypto/external/bsd/openssh/dist/sshd_config
vendored
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: sshd_config,v 1.5 2010/11/21 18:59:04 adam Exp $
|
# $NetBSD: sshd_config,v 1.6 2011/05/03 13:04:00 jruoho Exp $
|
||||||
# $OpenBSD: sshd_config,v 1.81 2009/10/08 14:03:41 markus Exp $
|
# $OpenBSD: sshd_config,v 1.81 2009/10/08 14:03:41 markus Exp $
|
||||||
|
|
||||||
# This is the sshd server system-wide configuration file. See
|
# This is the sshd server system-wide configuration file. See
|
||||||
@ -54,7 +54,7 @@ LoginGraceTime 600
|
|||||||
# Don't read the user's ~/.rhosts and ~/.shosts files
|
# Don't read the user's ~/.rhosts and ~/.shosts files
|
||||||
#IgnoreRhosts yes
|
#IgnoreRhosts yes
|
||||||
|
|
||||||
# To disable tunneled clear text passwords, change to no here!
|
# To disable password authentication, set this and UsePam to no
|
||||||
#PasswordAuthentication yes
|
#PasswordAuthentication yes
|
||||||
#PermitEmptyPasswords no
|
#PermitEmptyPasswords no
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user