GNU bug report logs

#26696 openssh: root 'without-password & password-authentication #f both breaks service

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #8 received at 26696@debbugs.gnu.org (full text, mbox, reply):

Received: (at 26696) by debbugs.gnu.org; 28 Apr 2017 19:29:48 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 28 15:29:48 2017
Received: from localhost ([127.0.0.1]:45058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1d4BaN-00082e-3t
	for submit@debbugs.gnu.org; Fri, 28 Apr 2017 15:29:48 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37217)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@famulari.name>) id 1d4BaL-00082X-Po
 for 26696@debbugs.gnu.org; Fri, 28 Apr 2017 15:29:46 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id B080A207AA;
 Fri, 28 Apr 2017 15:29:45 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Fri, 28 Apr 2017 15:29:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc
 :x-sasl-enc; s=mesmtp; bh=u5ypr0OAujVdPyfv1Ep3/LVUz00xPe9ED1D/UN
 pnGBc=; b=Endm3refnvo4lnCYoGUGbhsxb+jI2X8FA+bHWi52hY1LPhPnz4bOx0
 q48M8IIBglbveL+hLTCWhoopDcGCE8Z0lS0WLizUqBpYHduI5pAebQhSHGAbJhQa
 Is1qan2AO8ar4KMvl96VppBB+HzlKPeaQHCIZ5xYxpki/zNTH6N0U=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=u5ypr0OAujVdPyfv1E
 p3/LVUz00xPe9ED1D/UNpnGBc=; b=LTSfQR+p+A8Ivhy8jdAq9+f+idXDWLEJoe
 IEYxrbM3cRZwqyFU1tvAe8ymZxZG0YwNK8TK7YEh5pRJj4N6opc0lmSxOHafWt+z
 WDfNopMXfTCuiO1Q/32kSIKp6ycA2rm6nothIWwIi274JocWZ+F5PhZ7hCYMDO4s
 kjY11V90Maf4OyteUGUo3t9/AiG6YJcvZ8KbmfBI95eDWY4UeK5EvQS+IOaofwie
 wlxJLUoCmJYN1YpfElDpXGvA8nIXW6WLmVb2oGbCc7/DgZON/Rmk2eBWEdSk95Ge
 ONiGV1Qhq9XxHhTgOLIS79LtSvD/OWf/o/G5RjJpoa4G8P2QJ1Lw==
X-ME-Sender: <xms:KZgDWSBnXPgkkkuzy0j0EXaDoz77N4byfSblYazczLqbEqBqdxChWA>
X-Sasl-enc: DhEB+wTIB+XpY5d5P0ko3vIQkOtXb59AuCGL3EP6WAep 1493407785
Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70])
 by mail.messagingengine.com (Postfix) with ESMTPA id 70613246D1;
 Fri, 28 Apr 2017 15:29:45 -0400 (EDT)
Date: Fri, 28 Apr 2017 15:29:44 -0400
From: Leo Famulari <leo@famulari.name>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Subject: Re: bug#26696: openssh: root 'without-password &
 password-authentication #f both breaks service
Message-ID: <20170428192944.GC6736@jasmine>
References: <87h918twir.fsf@dustycloud.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="9Ek0hoCL9XbhcSqy"
Content-Disposition: inline
In-Reply-To: <87h918twir.fsf@dustycloud.org>
User-Agent: Mutt/1.8.2 (2017-04-18)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26696
Cc: 26696@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -0.7 (/)
[Message part 1 (text/plain, inline)]
On Fri, Apr 28, 2017 at 09:52:12AM -0500, Christopher Allan Webber wrote:
> I wanted to permit root logins but only permit public key authentication
> in my openssh configuration.  This was my original assumption of how to
> do it:
> 
>   (service openssh-service-type
>           (openssh-configuration
>            (permit-root-login 'without-password)
>            (password-authentication? #f)))
> 
> However, for whatever reason, openssh fails to start with this
> combination.  However, it turns out this is redundant, since the
> configuration is already only permitting with public key authentication.

Do you still have the generated sshd_config files handy, so we can
compare them and figure out what's broken?
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 16:30:48 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.