From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GLRKNLkGe2XRgwEAkFu2QA (envelope-from ) for ; Thu, 14 Dec 2023 14:44:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kJclMLkGe2UKVAAAe85BDQ (envelope-from ) for ; Thu, 14 Dec 2023 14:44:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YIL5pCy5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702561465; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=a1XakrFsCsNaXYfieJYScJP3De8x5v5ttrQmFq9HjJs=; b=EfqbKKWfHfFZvRRsmmf4992rV40+bxUXjOLfdIHlFTbnOJ8bOvy10h8SEVqkl1djZjCPqa 9JCA0Uhkco8ayEbgj0xFffM62dCzCk1SLBipS02InIgFRhYttSNrY0O4NlCecvE6NZ6rdX YGUBXO4kA8xaRBVeb8OkVsFlJ1HCkHUiGOOn+hjaoNG311nI9UBeK7GQoFR/TDvLPUpEWq DQMoPsgDMOowm2K2lwmZKOMzulLh1iOmvTyMyw2kiC9zlM3gncszumGMpPpx6XRUjYh/Us 6D8fBFWbsp45HChVJ8fOODZeFU/tvAmnu76o1yEtJvmiW/LIg0OVJVWU9GA7gw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702561465; a=rsa-sha256; cv=none; b=kOdPIrjxbnOD3IR4lDogHaUuBQbss1cql80fxgAcCeyWXw1OSVP3YqMch+CQtAUs/ZIwIR c3aJC1e+0FPeyxWTWc/bfl+IDvqmtVasA3Xxjfpz1aEirM+KkVEY6kQXfhmlrnQ2U/bkQW mgaKBgv4d+pwNU5d73wEzQO2aV8VFKOlYF05Z9V8GKib+PXPCLIIenQelUHAlpqUB2qSj0 v3DvTR2bQzbi7qBWdjx+TJp1IXBe7LAMtfSAUiC8YKcV0hqey+PO1sUoxEpMCnhH9iJd4O bJNKX5GuqzfL5jVqXE9qRNeEOknzHGtlq44DiIipHslYFezUk0HOUMjvz+y7qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YIL5pCy5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 284DC44C10 for ; Thu, 14 Dec 2023 14:44:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDm0T-00070f-NK; Thu, 14 Dec 2023 08:44:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDm0S-00070N-Hc for guix-patches@gnu.org; Thu, 14 Dec 2023 08:44:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rDm0Q-0005Hh-SS for guix-patches@gnu.org; Thu, 14 Dec 2023 08:44:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDm0P-0007PF-Mi for guix-patches@gnu.org; Thu, 14 Dec 2023 08:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67789] [PATCH] doc: Secure Shell: Add note about sshd and wrong permissions Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Dec 2023 13:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "zero@fedora" Cc: 67789@debbugs.gnu.org Received: via spool by 67789-submit@debbugs.gnu.org id=B67789.170256142228422 (code B ref 67789); Thu, 14 Dec 2023 13:44:01 +0000 Received: (at 67789) by debbugs.gnu.org; 14 Dec 2023 13:43:42 +0000 Received: from localhost ([127.0.0.1]:49004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDm05-0007OM-Hw for submit@debbugs.gnu.org; Thu, 14 Dec 2023 08:43:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDm03-0007O8-TL for 67789@debbugs.gnu.org; Thu, 14 Dec 2023 08:43:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDlzx-0005Eb-KL; Thu, 14 Dec 2023 08:43:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=a1XakrFsCsNaXYfieJYScJP3De8x5v5ttrQmFq9HjJs=; b=YIL5pCy5NRgYewNOFb8A /dRnVJkWWSt1u7OpPFFgUfCYqY/VHaMdkeQxcfkURaKQjCXobTdmhc2844yMl+DM2izkRPGb+kz64 aMyrLH2ZS4/9UFNbNv9KUjgNtogpxpHBm+q9lDe95uzyeN9AtbOUriyBrYsFFjyxoTaAAnYtWt/VL EKpST2FnchXanhIsVUEDMURLBIfVBj1sQf0PiasDmWvw8Yvou6DuClyIN7w99DvV4gehtOju7z/qy RoGF7yp2oMKCA8nuWQ4lc8DCeKgHhFLrxfTlcnAGPYGenXDMWMIxIgKPrRColtL9i//c5ohoeejJb mWEJNX0NZj9msA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <20231211233532.63690-1-shinyzero0@tilde.club> (shinyzero0@tilde.club's message of "Tue, 12 Dec 2023 02:35:32 +0300") References: <20231211233532.63690-1-shinyzero0@tilde.club> Date: Thu, 14 Dec 2023 14:43:30 +0100 Message-ID: <87le9wx5kt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.85 X-Spam-Score: -6.85 X-Migadu-Queue-Id: 284DC44C10 X-Migadu-Scanner: mx11.migadu.com X-TUID: 1QdTR01nCdZs Hello, "zero@fedora" skribis: > * doc/guix.texi (Home services: Secure Shell): Add note about sshd blocki= ng connections because of wrong permissions [...] > +@quotation Note > +Note that @command{sshd} will block any @command{ssh} connections to you= if > +your files in @file{~/.ssh} have wrong permissions or ownership, as the = ones > +created by this service do. To fix that, you need to set @code{StrictMod= es=3Dno} > +in your @command{sshd} configuration > +@end quotation I think we=E2=80=99d rather fix the permissions of those files than documen= t the bug. On my laptop permissions seem to be good: --8<---------------cut here---------------start------------->8--- $ ls -ld ~/.ssh/authorized_keys=20 lrwxrwxrwx 1 ludo users 59 Dec 10 23:36 /home/ludo/.ssh/authorized_keys -> = /gnu/store/k79g5iaaa7gij52nrbhjz6fqq7banzdz-authorized_keys $ ls -ld ~/.ssh=20 drwx------ 3 ludo users 4096 Dec 10 23:36 /home/ludo/.ssh/ $ ssh localhost uname Linux --8<---------------cut here---------------end--------------->8--- Maybe there are cases when this is not the case, maybe when ~/.ssh does not exist prior to running =E2=80=98guix home reconfigure=E2=80=99? Thanks, Ludo=E2=80=99.