Date: Wed, 18 May 2022 15:43:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263045] sshd password configuration options are unclear Message-ID: <bug-263045-7788-KafrCT5ACb@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263045-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-263045-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263045 --- Comment #9 from Ed Maste <emaste@freebsd.org> --- Some more details: PasswordAuthentication is handled by auth2-passwd.c and auth-passwd.c, and auth-pam.c, which uses sshpam_auth_passwd() if UsePAM is true, else it uses crypt(3) and compares against the passwd entry. In effect, sshd requests a = user name and a password, and then passes them to pam or checks the password its= elf. The PasswordAuthentication scheme is described in RFC 4252. KbdInteractiveAuthentication is handled by auth2-kbdint.c, auth2-chall.c, a= nd auth-pam.c. In this case sshpam_thread() calls pam_authenticate(), and the authentication is driven by pam, not by sshd. This scheme is described in R= FC 4256, Generic Message Exchange Authentication for the Secure Shell Protocol= ." --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263045-7788-KafrCT5ACb>