From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6MDcHxU2Q2YeBQAAe85BDQ:P1 (envelope-from ) for ; Tue, 14 May 2024 11:59:49 +0200 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 6MDcHxU2Q2YeBQAAe85BDQ (envelope-from ) for ; Tue, 14 May 2024 11:59:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=paytg+Jx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715680789; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2NS0+v4p/aP8GBhI6XFHlmereXSdZf8wVcuxf7getsA=; b=t+tWyxwyR8gH9EpscM1aNmiqaTHNN/n6PkndyN0Ob2iBAm9gMr0pa/hLGhWl4dzdCJCbEB HNL7QbhwPgPf5Zc2UkUacjacTmORYkACiacp+RQfUjw+R8QNxIT6MkJlAslHWNh0CrBVyJ RvQArdxbiamSGSp4ubqlNhtY1npdVuhqfCrhrUtuL0CpmePDw0O7kowBOzZalCmrVCcfjV Zlr2JY40z11nbcuyx8PUFdvKyfB4N+B0JrywNdT3XO0+6belUwY9Lqs9ZsF7ndwa1FQYxp kPrUKe3wId1LCgmRJxwUA3xnjmkssYJY7LlxVjIpfF01InBG2tiNDHvwiF92UQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715680789; a=rsa-sha256; cv=none; b=a1RVi9Z0U/ZsxQS3UsOEhDF6COgqvzo01P1EDY4psiGdzqd388ahzcz+Uy825Nix53TYAl M30iuAx7eEiIBPmDxEmVkjFmJC87ZvHxeL8LcJtNYAM9vZh6Sfckn1AbSMPQdRSvkNIhYQ +QTH/JiL1Kg7mUcWSgzhwcZnzI4L7UVbQ7BTdviCRXs3808J+yrilzD4wljLT1czAT+6Go QbphwAR9GGUcJrtjU1OOWZq5ZA80kR4diL2m7yLzmgSUFWoCsGo87c3IuAZvNkDrMBGOA9 eUFlefkcu+/CaR8gdv14HpDVQJSXIS42DxXor1G/3HdG/c9SvQpKaim4Nwu1Vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=paytg+Jx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@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 6B0D523A2 for ; Tue, 14 May 2024 11:59:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6owO-0008N2-Ll; Tue, 14 May 2024 05:59:24 -0400 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 1s6owL-0008Hi-Hu for guix-devel@gnu.org; Tue, 14 May 2024 05:59:21 -0400 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 1s6owK-0008Aj-TW; Tue, 14 May 2024 05:59:21 -0400 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=2NS0+v4p/aP8GBhI6XFHlmereXSdZf8wVcuxf7getsA=; b=paytg+JxsaLSlNTYP/Ma SOJ12yj5QVrVsEHjD7R30KpeLIETFTrceEckhLd3Ukwjr9IPXoV+E22ZjP3AkC1TIRGT3v2D3Q8S0 0atXD79CJ3T8LZpDmTg/H2jIv8gPB2XfG5bfRX6DMFBJTnPe2GoNORW9Vu8w2WWCWvxcdXpwzgVb1 +rdJSaT+N8DnV/O9Z7dYiQ+fo8nvZjjCkJEchEMqPgwGeB1cILwhVa4q/pWwrhSB+JaOly979mS0B C5sjmtwXKUpDly2vsg5ezPaKDZ69/SFHqvkTHtWgAA3Cu+7vYz9vO/bniemHXwhDnvBy6JHspeVj0 03cBei+wO/ojGg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ashvith Shetty Cc: guix-devel@gnu.org Subject: Re: Demystifying SSH configuration for remote software forges on Guix System In-Reply-To: (Ashvith Shetty's message of "Fri, 10 May 2024 07:57:33 +0000") References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 =?utf-8?Q?Flor=C3=A9al?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Fusain X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 14 May 2024 11:59:17 +0200 Message-ID: <87a5ks4sui.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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.63 X-Spam-Score: -6.63 X-Migadu-Queue-Id: 6B0D523A2 X-Migadu-Scanner: mx11.migadu.com X-TUID: s0Jjt+PKCjSk Hi, Ashvith Shetty skribis: > And finally, I've come across `home-openssh-service-type` - which I've yet > to try, but reading from the docs, am I supposed to put my private and > public keys in the repository? How do I go about this? Isn't that a > security risk? Never ever put private keys in a repo. I use =E2=80=98home-gpg-agent-service-type=E2=80=99 as my SSH agent: https://guix.gnu.org/manual/devel/en/html_node/GNU-Privacy-Guard.html If you already use Guix Home, you can set it up by adding a few lines to your Home config, along the lines of the example in the manual above. If you don=E2=80=99t, you could start =E2=80=98gpg-agent --ssh-support=E2= =80=99 or =E2=80=98ssh-agent=E2=80=99 manually, for example from ~/.xsession or similar startup file. HTH! Ludo=E2=80=99.