From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CCdpCLpjnWDLeAEAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 19:36:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kF0TBLpjnWBjPwAAB5/wlQ (envelope-from ) for ; Thu, 13 May 2021 17:36:58 +0000 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 5552C12233 for ; Thu, 13 May 2021 19:36:57 +0200 (CEST) Received: from localhost ([::1]:57944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhFGa-0004ns-2L for larch@yhetil.org; Thu, 13 May 2021 13:36:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhFGD-0004nU-Nn for help-guix@gnu.org; Thu, 13 May 2021 13:36:34 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:56081) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhFG9-000094-Pw for help-guix@gnu.org; Thu, 13 May 2021 13:36:33 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 8so603361wmc.5 for ; Thu, 13 May 2021 10:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=aeavU5n4q9yukE1lBa8Btpxw24Ex9xTYCCO0D9POkBs=; b=hkjqc1JIEm5PnuOlzxr/U4+IDh5t6y8VP56homf4sKdTAmkGRjXN7QnnfCO0zKz1EX acyDXWyUHfX+bZySRwNO3F3gFu4En3EtKc6/44Qp+TDGX3iwq9M1w4E2Kpd5V+HSDRt7 xnbTJ/nh3UzRrkKf4ESAw7ONAyLbUTZjhvSd4Prj3sfPVoj10UeiHoLpQLd9xM5jIXG7 DlZdeMLt1SuK4Hv7eLys1ABqsqmpAttMtJfoV/92avI6hoDKMlYA/WszbDJM3B/MPwWG C4EKyKIEJAn2d615Qu+74bHTLAtRCY/lHyzpnqe5ZxSxF4C6xHfEsmfycFXRzFUiWhLp IcnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=aeavU5n4q9yukE1lBa8Btpxw24Ex9xTYCCO0D9POkBs=; b=bkbdhSuzk6ktsjnREC1ezhLmVBSJarB6gVtk0hnMxo72xeEUf7MeklE3+pnsPWAc3m BIxORITB1MNf541vqlhAOYdwptk7OSFVZhh78nBxgBsDQoR+c4kTeLkMk3C170gSFnhG iCnuaq7I5f6Yf6PpYW9dWcKYWMunkN/jyV9tFbGAxH2MFXvCe3mX7Oq3nedQ6HZ7cYIL DBi4XaVMxCbMzDd4VN3+jnKYqabA8XN+8e14xWIUW0dvtJh4DcfUfxw9cF49TV64ZlZ5 5PzAcwXQbsChux7v9zb+UpCIigU9BJSzGM3bl1R2IJR9nv0aG3dPmakhCuAYmqmC5+ik /PeQ== X-Gm-Message-State: AOAM533e4WQea/IPDbKjEwBjxRprgtLLSp7tzDdAq7ctqnR2GBuzzYrd STYxGv1Hb1F8oTHWYhsw/0pnA7GOx342IgYhWs8= X-Google-Smtp-Source: ABdhPJzGn+9b1h18WroyxcMV5ID0FNHrPwJ4nNrf1+VAjBgF2LMx5FZLuLT0lUa9N0eSNh/S14S6yg== X-Received: by 2002:a7b:c846:: with SMTP id c6mr4787047wml.75.1620927387593; Thu, 13 May 2021 10:36:27 -0700 (PDT) Received: from xps13 (host-92-17-156-231.as13285.net. [92.17.156.231]) by smtp.gmail.com with ESMTPSA id l18sm3394153wrt.97.2021.05.13.10.36.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 10:36:27 -0700 (PDT) References: <877dk5fcyh.fsf@disroot.org> <87v97nemvk.fsf@disroot.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: Bone Baboon Subject: Re: `guix pull` of an ssh channel fails In-reply-to: <87v97nemvk.fsf@disroot.org> Message-ID: <87im3mmt7p.fsf@beadling.co.uk> Date: Thu, 13 May 2021 18:36:26 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::32e; envelope-from=phil@beadling.co.uk; helo=mail-wm1-x32e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620927417; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aeavU5n4q9yukE1lBa8Btpxw24Ex9xTYCCO0D9POkBs=; b=N/WWG70u6azhshGpRtkDh7bB46CxYkkD2eCkeWVEWaRdGRxDGDOr1b1iZd/V5C5WGIlUf7 HpaLeD1rnze9xEVKW+xPM+c1MDOyxlLx2RSWQv8irMk2gnWKCiaJaVhoS3s4lRZwAnu9nx xOfvO4pBAVUPPuqr/XZ+PXJgkBAJtdnW/Gj792xA+PoDv86vo8zi7PybGoCL/0EhCgYUo+ 6jwg/DDonO82zWBEl6ijVcKcPdtZEqyn2/re/7DhMono3tY8n+3aJHvuoWgj0qnPf/EvwO zNS9+naDJdEc9NiZObBgSTrF4T3Vce60SpnsD2U42C4tc/j5ZLLrX/VqmFnizQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620927417; a=rsa-sha256; cv=none; b=sO1CrsXitlEt3EJN5EViwB0Fq5UY0IWAqEv7f/X53GckbQYesSCBIf9NL8JQFDVRO3u096 I+rN1e0bnxbi8Tmis2XZL1pEL8VdVFGjvHGHQc38qo/E477m4uU7V0scWGZZvvVXGKZETt hfDi86GW2WZIr8hsb6cnz+rltZQbJYcB1VI5Uj5vFLKioLc5RVq5i1xpCgrX+EB3pb+EJc NxsfoN5Uy6lQoprqyYRGAAdwFdqkSu9DLNVIjGz6fg++nSI56LEQuKDwDPvjCve7ydL9Q4 ntFb+zfX9Vnu9wmy0ZxQWOPtTzPqLvRHI2HSxRnkb1pzqmI9bVGedty8LQSEfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=hkjqc1JI; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=hkjqc1JI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 5552C12233 X-Spam-Score: -2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: ElTSzMRwk6Gm Hi, Bone Baboon writes: > I received help from civodul on #guix. They suggested I run > `ssh-agent`. Yes this is necessary - Guix will only read a key from an agent not a file. > > After running `ssh-agent` and using the environment variables it outputs > in the command `SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLfu5ES/agent.18550 > SSH_AGENT_PID=18551 guix pull` I am no longer getting this error message > "guix pull: error: Git error: error authenticating: no auth sock > variable". As a side note check-out "keychain" as much nicer way of automating ssh-agent management. > > However I now get this error message "guix pull: error: Git error: > Failed to retrieve list of SSH authentication methods: Failed getting > response`". When I have seen this error it means the SSH key in the ssh-agent is not permissioned to read the contents of the git repo over SSH, containing either the channel itself or any other repos referenced in the channel that you hold locally. I use BitBucket not vanilla Git - the solution in BitBucket is to add the public key of the SSH key in your agent to your account with read priviledges. If you happen to be using GitHub you'll need to add your key here, I think - it's the same idea: https://github.com/settings/ssh/new One last test you can do is can you git clone your channel from the console? My guess is this won't work if Guix is also having problems - but you can then reduce the problem to one of git not guix.