From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UBrJOkg4nGDvyQAAgWs5BA (envelope-from ) for ; Wed, 12 May 2021 22:19:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4AF5Nkg4nGD/QQAA1q6Kng (envelope-from ) for ; Wed, 12 May 2021 20:19: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 4B3DF1DBDD for ; Wed, 12 May 2021 22:19:20 +0200 (CEST) Received: from localhost ([::1]:55860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgvKB-0000mF-28 for larch@yhetil.org; Wed, 12 May 2021 16:19:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgvBG-0005NH-99 for help-guix@gnu.org; Wed, 12 May 2021 16:10:06 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgvBA-0002Zd-Cr for help-guix@gnu.org; Wed, 12 May 2021 16:10:04 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7DCC553B2F; Wed, 12 May 2021 22:09:56 +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 kaS8k8y5pfFN; Wed, 12 May 2021 22:09:55 +0200 (CEST) References: <877dk5fcyh.fsf@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1620850194; bh=BM4bOBZl7rsaHYnhNVsM0A/TEllSCsVTl6vYHSCAOjc=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=FzHJp7l20owydswJnYlVYahTkOPon9XNOqyO99iggPs4A+bP8nKQ8QlAHvCgBPHrO AqdxV/jP0ZwdWrQfT4eBT87mFS8qX8fOj4IItTkpJIvhWel39ft2/VZb1yfQQ/sCzU OVj0T4ce9KOllaFFbsaz/w+xf6SHN3rQO6KyzxbkPCqOEaE3RC4eqg78d0nKLv7Hem QJyVvOHmBSffuyt9yPzOpesbvZq+qQpDiCh5scg8zFTryty8ugfuWiGkdS1AVvsNnt qZefqIUKt1Y6uhMp4ynAKQYLyH1QZt5rMM3thLYb9wmq/rEdWGAYylxrrfy0fcoEhB yZvA9OIzp0Q3Q== From: Bone Baboon To: Bone Baboon Cc: help-guix@gnu.org Subject: Re: `guix pull` of an ssh channel fails In-reply-to: <877dk5fcyh.fsf@disroot.org> Date: Wed, 12 May 2021 16:08:15 -0400 Message-ID: <87v97nemvk.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=1620850760; 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=lWR+uKD8F0BhxZcBpJKWl23FvOcHzRImdZlGxuiOzmU=; b=IGGGClgShfes3LlVn5NJiqBwXInwtujqWfFCRQJtrM6aqghe2H05b2Dn1EofnQuseDzWbY AAGo5NeTD7LQLifUkxCIlXsclpm49kk9ClRbGMHqOJ1Va4R+EOZ2mUF/t+smgY2kmKad5O BWv7d2kQSdZQ20vdi6uiA3KzbFq/XLIikqA1hh2eZy2kD7ozocN4krRpCLyjcx23xoDI2w JnbkY8JLuF14tCppfT53Bt16gLsRXsAGCUFtKs2Mj8PnmN/kr7oLAyFUW8FH6KBAWSVbJq H0FTDPR7aIWYinpJ8rWZmjWr/dZWU0PuySNtB07v0/hGk0V8M5oNYcR2a+5jHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620850760; a=rsa-sha256; cv=none; b=e9tWcqCjSK7AwQEoBR+eXrtZOBD2vFv9WGD4XNn24Z6SL4makyGl1GoEDzlN0DTqGrV0VG QXOxZKlB5rMdcR77ghBVAB/Obm3AiNZc84J7+hrNwfJNQV8mczfEP1FIdm6qQW4Fz0LVbD i0U0IJfPugHRYhkAoII8k/SSDh6Wbe1xuEIkGeJUOKxbo0Daz+fayp7/ex5T62ur9gis2X Tr7Ue6P9G2VftM56sTMQm8E6nQhTduCHXJCfKTxdHoBPRyuLPJIuUGoPQcwtw3GwAw6dNN L2lie7xbwUBV/spsfeNILXCJYrM7tQxid2MNBEd9JUorQ98hAf46xM1F/Iy38w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=FzHJp7l2; 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: -2.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=FzHJp7l2; 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: 4B3DF1DBDD X-Spam-Score: -2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: Cnt8e5uNhkmZ I received help from civodul on #guix. They suggested I run `ssh-agent`. 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`". Bone Baboon writes: > I have a substitute server that needs to build a couple of packages with > patches: > > * inetutlis version 2.0 from the core-updates branch instead of 1.9.4 > from the master branch > ** https://issues.guix.gnu.org/issue/48214#10 > > * glib with longer test timeout > ** https://issues.guix.gnu.org/issue/48024#12 > > * offlineimap without tests > ** https://issues.guix.gnu.org/issue/48213#2 > > I am trying to setup a channel for this substitute server's patched Guix > repository. `guix pull` is failing. > > On a client of the substitute server I have reconfigured with this in > it's system configuration: > > ``` > (service guix-service-type > (guix-configuration > (authorized-keys > (list > (local-file > "/path/to/signing-key.pub"))))) > ``` > Where signing-key.pub is the substitute server's public signing key. > > I have added the ssh public key of the substitute server to the client > with `ssh-copy-id`. The substitute server's ssh public key is in > ~/.ssh/authorize_keys. I have also done the reverse with the client's > ssh public key and it is on the substitute server's > ~/.ssh/authorize_keys. > > This is the contents of ~/.config/guix/channels.scm: > > ``` > (list > (channel > (name 'guix) > (url "ssh://@:22/path/to/patched-guix-repo/") > (branch "master"))) > ``` > > When I run `guix pull` I get this error. > > ``` > Updating channel 'guix' from Git repository at 'ssh://@:22/path/to/patched-guix-repo/'... > guix pull: error: Git error: error authenticating: no auth sock variable > ``` > > I can successfully run `git clone > ssh://@:22/path/to/patched-guix-repo`. > > I can successfully transfer files from the substitute server to the > client with scp without entering a password. > > Can a channel use a ssh url?