From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eCzPNuPbaWXOEwEA9RJhRA:P1 (envelope-from ) for ; Fri, 01 Dec 2023 14:13:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eCzPNuPbaWXOEwEA9RJhRA (envelope-from ) for ; Fri, 01 Dec 2023 14:13:07 +0100 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 BC8DB57ED3 for ; Fri, 1 Dec 2023 14:13:07 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=cHqIvMPF; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701436387; a=rsa-sha256; cv=none; b=O1OL9fWO0qgC+vLOInoIWt8j8oMX1N8zwJUzO+l73oyaPYGRiI+prlPjenBToJw1r4beEK XigPdcRG4AxcRXLD+kAUoYOltkigruYNjT2LtM1CWId6yL4JBCBbUV0K4Aor5Bf9awdBpS e1vVPcGblBODcoZRbyR7sYmOuniIzWSIbzempYpD76hB1CNC1KSp/GLQeaWwn7IeS6onAQ y45FR9YuORWH+sfPyFc7VHT1yI52Q0VkNgy/D/fhZZuq6OJYgKpyvOwGlEqe0YrDUIZQZ8 o53ob1kq8fcjXdmH50OHxk1w4ihghSdPVIqiqtamWZVpL0thpTA4uo3nTdoIQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=cHqIvMPF; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701436387; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uLl6XXB+0PniZoYW9FoQ09jNlieeNI8nbnbGC5c99qM=; b=b83if5ohgm/ZhdIvtLDeZEYsUZ1aF+sBn6fBMRmy3m762eavMkR6PTOjh47z5jK1Sq88HV H+9mhmYt2nv8FivZtVv0wCQYqCZzZnLbRbsFd38qeN1r3yZS64Qpn84Gg7DZjY5VjYiZRB a/cN3JlZt0/3WpdmLZnQHfSYxdxTM1Wr4EfzE6gy/QkrTYfB83/ENRVKNZqUpkiPOXbPDj KlA2WgETApsSV4EvAn0JaxQyytVoOwLeeVxuiK80qtjPheAs6B2DwZ+tFBvHy2m2tggpBt uH+sKt0P0/QLHwF4oCuCWoG2OrYZjsWcTka5p+XZz6UzQhbx8WdF0OJmEKFBuw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r93Js-0001sV-QI; Fri, 01 Dec 2023 08:12:36 -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 1r93Jq-0001s7-O7 for help-guix@gnu.org; Fri, 01 Dec 2023 08:12:35 -0500 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r93Jo-0001nB-Ln for help-guix@gnu.org; Fri, 01 Dec 2023 08:12:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=uLl6XXB+0PniZoYW9FoQ09jNlieeNI8nbnbGC5c99qM=; b=cHqIvMPFnM3doIKUAts3GrsIGd C96LtkO4yVyXpi7OwwD5saAY03zrQ4bJuZpnvK0BbDARcDsDSao2Z4bH2i5RMjfauDfowmoKHhPxS hK/lFlJREHoy+QHNcFy4e9CVOmDs5fU18KBnimzdn1JuyHfLH0uZmTS4SLlIv50z8YDWtu51c+/b/ yYZ9erLG3PrLHrnAdwlW0bqW4d5Z8K6tRzqtckTqMs3bEc5nQzYMwO6eKgePjR9PqDGlbDLKRum7W eHu+w2Bfssm8FH5Uj63k0JExBb7AYGCHovv8gVc/hewIw/mzmAT8W9MOgEGiySIksHOFns4feFIsH XjVhMYJKNJvUsEVWbWNCR3hNPiConWaD7bhwrWcdvmyl13E7XLAZtJN5FecFwlKLVS47J9/RYZV/k u0Vz6xoWGWVSxLPHRTGFOhoOhRAAqkLwQu/fEkqcSRbO8ctf469xLLVUsWzw5S6nptOfy4gg/Rvew NTdGbSbaqzhACmzdXrpRBLYaMgwPyuMCiwI7DHJT0khC01ShAkl0EdOwVCH2XYgMAINU+Ff63lPKY YjlpCjoQRcxchs67P7O4WL02ag20FgRs5eFWf3ft71nvhTmXcqrQ/+oL1wP6QjZjoVwqKXVNL6v6e klQsCW0tF1rXJ8g6T5ITMK09xQWEe+8/qd8xoOd14=; Received: from 78-11-235-71.static.ip.netia.com.pl ([78.11.235.71] helo=localhost) by koszko.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1r93Ji-0007tF-1T; Fri, 01 Dec 2023 14:12:26 +0100 Date: Fri, 1 Dec 2023 14:12:24 +0100 To: Mauritz Stenek Cc: help-guix@gnu.org Subject: Re: SSH error guix pull Message-ID: <20231201141224.6169bfea.koszko@koszko.org> In-Reply-To: <87zfyuit2g.fsf@disroot.org> References: <87zfyuit2g.fsf@disroot.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/wfyiRRZSOTkKYcV+kcVrZnA"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Wojtek Kosior From: Wojtek Kosior via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.74 X-Spam-Score: -8.74 X-Migadu-Queue-Id: BC8DB57ED3 X-TUID: vbJ80QxedMYW --Sig_/wfyiRRZSOTkKYcV+kcVrZnA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi > However, on a full Guix system I keep getting this error: >=20 > ``` > guix pull: error: Git error: error authenticating: no auth sock=20 > variable > ``` >=20 > and, for the life of me, I just can't get it to work. Maybe you're not running ssh user agent daemon under your user? You need it for this to work. You can probably spawn it in a number of ways. One of them would be through Guix home. See this[1] Guix manual node for info about ssh-agent's home service :) Also, you're not running `guix pull` with sudo, are you? It wouldn't work this way because sudo erases environment variables, including "SSH_AUTH_SOCK". Btw, on my fully Guixified laptop I am using Guix home without ssh-agent configured and yet I do have ssh-agent running under my user. I'm not sure what started it=E2=80=A6 > (disclaimer: I'm a total scheme/guile neophyte -- and am learning=20 > as I go) As all of us, haha :D Btw, there's perhaps another solution =E2=80=94 pull from local git checkou= t. You can pass a filesystem path instead of a url when running `guix pull`. This might later cause some issues if you try to `sudo guix system reconfigure` but that's another topic=E2=80=A6 Good luck and happy hacking! Wojtek [1] https://guix.gnu.org/manual/devel/en/html_node/Secure-Shell.html -- (sig_start) website: https://koszko.org/koszko.html fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A follow me on Fediverse: https://friendica.me/profile/koszko/profile =E2=99=A5 R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ=3D=3D | =C3=B7 c2luIHNlcGFyYXR= lZCBtZSBmcm9tIEhpbQ=3D=3D =E2=9C=9D YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ=3D=3D | ? U2hhbGwgSSBiZWNvbWUg= SGlzIGZyaWVuZD8=3D -- (sig_end) On Thu, 30 Nov 2023 19:47:43 -0600 Mauritz Stenek wro= te: > I'm trying out Guix and created a personal (private) channel with=20 > some custom packages. I access my git repo with ssh. >=20 > Using Guix on a foreign distro, pulling from my git repo works=20 > fine after applying this strategy:=20 > https://issues.guix.gnu.org/31285. >=20 > However, on a full Guix system I keep getting this error: >=20 > ``` > guix pull: error: Git error: error authenticating: no auth sock=20 > variable > ``` >=20 > and, for the life of me, I just can't get it to work. >=20 > (disclaimer: I'm a total scheme/guile neophyte -- and am learning=20 > as I go) >=20 > Please help. >=20 --Sig_/wfyiRRZSOTkKYcV+kcVrZnA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCZWnbuAAKCRBLxSIcWnn9 Gu/BAQDu51G46BlMo8CzwP8RWzdKdsTyD/iissRaPU4+JSatQAD/V0EBsLrQxrHD U9zbr6qBpJ9FJU+CcwYXLiqtkMKQ8QM= =/LhT -----END PGP SIGNATURE----- --Sig_/wfyiRRZSOTkKYcV+kcVrZnA--