From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GN6FKYibnmC/FAEAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 17:47:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sCoeJYibnmB6NgAAbx9fmQ (envelope-from ) for ; Fri, 14 May 2021 15:47:20 +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 0C6B122CF5 for ; Fri, 14 May 2021 17:47:20 +0200 (CEST) Received: from localhost ([::1]:48668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lha21-0000sa-R0 for larch@yhetil.org; Fri, 14 May 2021 11:47:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhZiV-00023B-O1 for help-guix@gnu.org; Fri, 14 May 2021 11:27:08 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhZiQ-0004TM-Jx for help-guix@gnu.org; Fri, 14 May 2021 11:27:07 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 87351511CB; Fri, 14 May 2021 17:27:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LOkZ87bVRbFR; Fri, 14 May 2021 17:26:59 +0200 (CEST) References: <877dk5fcyh.fsf@disroot.org> <87v97nemvk.fsf@disroot.org> <87im3mmt7p.fsf@beadling.co.uk> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1621006019; bh=VWnnNbCDtQqNmjGYCk9tralrN1jnsf4FTlm/suMlXNU=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=Q8qB+TqUl4K99S5olU3AFwg2e/gpaLwhTGe5L2q4hhJuhWOqlL+xOVMvJiqBWhub5 MkqM2Ui/jw681yrvKdq13nK+V9fBo96+CWzsARIRF2EP5ax2s7HxdNRGBN9lj1SyJc rFZrLGwIDcEfEenNuAwmqEO0ghLklS2vGLiMTIYASeTOBs7BjGKpL2ucfzK2dWKw4q I92zejfisX++SJpF9ji5dyPpJ9Shb/XVIt4ZwZuYA3vWt5SKqigfW/7SatAI5/tvn/ lMaXLTqp1vpb669fULYNV1TMLUdTT0wGuHe9rbJVmf16KKkBb7krKr4i7Gb/nRHN/Y 2oJ6P4GBwUfjQ== From: Bone Baboon To: Phil Cc: help-guix@gnu.org Subject: Re: `guix pull` of an ssh channel fails In-reply-to: <87im3mmt7p.fsf@beadling.co.uk> Date: Fri, 14 May 2021 11:25:16 -0400 Message-ID: <87zgwxcp7n.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@disroot.org; helo=knopi.disroot.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_NONE=0.001, SPF_PASS=-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: , 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=1621007240; 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=Mz+Lu2zp5h97FFsAnwr6iU/CYfE+lSGKXOV3Mvf/Hpc=; b=Ex0dwJW3fCrpIjxzV2cVAsh5TD0AocdU6KQgBXpAHYJGZ/94VV+lwV5usqJOJU84u+FdQ8 JeQPWjUj84IpeAxsLG1xm1yln68k+zQrp+xHDGmnMNwwVEiQMv51kibBBkbpEvhAWxLt5t 07qDGpsiT5RofyggEOSOLwn91p6smaJ+VtsoCnAqzTl7mxUNbMhF71OlmBjFF+vCBMSNql AG4ZLEp/hMud+dJLGRT1mYoF0+1fSRN5Xy+OsOa9qMDAoiwUokDshASrhvDN94/C2nxPVr UWbMq7Lp5xPj/a7QIUvXbj2L1p6bAqFrMWVJzeXv1+RS79wq9cKyfkTdynZYew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621007240; a=rsa-sha256; cv=none; b=scccbdl60rM01G+gvlNrRSlYGZ7N7KuTxH/iOyNMqaZXJKbMqIo+AILSFOZqvSBJ2jhkDV 3gGyLfVkYEZJqdJ4mFoD20y5I8pidw/7Vr6JyWjbKd6spJKX0bYeC9tbzh2pbkC9UaFnhv pwUMLh+DiuepAd58BRy9bAfFBVGF6+omenlK5M0mo1rWP+dI8j6ZNOPNJNIdNWE4JkX0h/ zJhYws3UVKdKgN5hGEED1aAi76tfl4n60fzyTI0oaa2OmbP7uutyZKrJvz493XXS8TLLs2 WuTQf3c0zkqEldXAPj4z7lbQIbhsxWBJPcwenV8mOYMSgEb2bEmsLuipekXxTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=Q8qB+TqU; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: -1.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=Q8qB+TqU; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: 0C6B122CF5 X-Spam-Score: -1.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: qHGh4RR+mdMo Phil writes: >> 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". >> >> 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 had previously added the client's SSH public key to the `~/.ssh/authorized_keys` file of the computer with the Git repository with `ssh-copy-id`. However that did not resolve this error message. I have changed the permission of the git repository I am trying to use as a channel with this command `chmod --recursive u=rwx,g=rwx,o=rwx `. However this did not resolve this error message. How would I make the SSH key in the ssh-agent permissioned to read the contents of the git repository over SSH? It might already be as I can successfully git clone the repository. > 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 The channel is a vanilla Git repository. I searched for a Git forge service with `guix search`. There were no results for sourcehut, Gitea, Gogs or GitLab. Any suggestions for a Git forge service that is packaged for Guix? > 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. It looks like there is no problem with SSH. I can make an SSH connection to the computer that has the Git repository without needing to enter a password. I can also scp files from the computer with the Git repository without needing to enter a password. It also looks like there is no problem with Git. I can clone the channel `git clone ssh://@:22/absolute/path/to//`. Where is the user in the output of `ls -l `.