From nobody Mon Apr 04 18:59:07 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D80241A9E69D for ; Mon, 4 Apr 2022 18:59:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KXKnR3KcGz3qQy for ; Mon, 4 Apr 2022 18:59:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4F5EE178C7 for ; Mon, 4 Apr 2022 18:59:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 234Ix77L003496 for ; Mon, 4 Apr 2022 18:59:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 234Ix7Ln003495 for ports-bugs@FreeBSD.org; Mon, 4 Apr 2022 18:59:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263045] sshd allows password logins when "PasswordAuthentication no" is set Date: Mon, 04 Apr 2022 18:59:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: donaldcallen@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649098747; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ziW3FBPiOMnETxyCdAivjN8t0EZjMTGjan4riB3waGQ=; b=RBbk3FM4Xcu7qh1yqMt//D1KTU5UteBe/gYJRsUvCxY5AQiAX2F3rWdmcRdFZC6oAjSfAQ WgBGdxbZGJFKPBBrag8cTOlf2FkoBqbxk4z2EJ7oogvGhsmG0W5+7toxIIOIyx1KG1/XwA tudJqD4i5XedUAzFwIu4l7lOrvQnwtMSlZ1U8jIkZCK5i5sm/ycY7E6YV9xj5zNQoGdxfY DUfRNoH+xWFTdQCeh4GlVjolLjAQakuiaElGHeNSJACxdR0p26bhrbEzkgNlGU9HNF/uCZ /uB+0fIJ4FhlL0mQv3MRQyDMSIai3SlLiTzxn6JlpL8EAAyDRIf2HamK0fW45A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649098747; a=rsa-sha256; cv=none; b=DRXjfn0IitgLCx71kdI2DZaqoZyf0Dfzu82706UeFHTuQth+FsshQ15gBGcNMeI2Yz4Aii QH0hQZc/zriK6WGsGOwF2/FlyjO414CZpuI7Mas7QG0WzKQkIoNGjmsFsQlgiPjhSX4/Qe W06b672u4nR5KaIzGISLJXgibrPI8qIpIPcizhRORb4Sm1vFaSpNmhTk4aoTu+qA1bAwZP 1E8p1wnzBt2Hw8ToJeNlRIlVjxsEcxCEkSeveSZ1SaO6uJzkVc5K9zqeiBAeXve56h4TcD I/7MzP//3X0HkhuLXt4WZw4Sr1R+mylI7lyuOx0KYw8GRshJ9HB/tJRNU3uB2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263045 Bug ID: 263045 Summary: sshd allows password logins when "PasswordAuthentication no" is set Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: donaldcallen@gmail.com This is the same error as closed bug 40261 from 20 years ago. Apparently a regression. Setting "PasswordAuthentication no" in /etc/ssh/sshd_config does not disab= le=20 a password logins. To accomplish that, "KbdInteractiveAuthentication no" mu= st be set ("yes" is the default). I note that "PasswordAuthentication no" is sufficient to disable password logins on DragonFlyBSD, which has the same default for KbdInteractiveAuthentication. --=20 You are receiving this mail because: You are the assignee for the bug.=