From: Bone Baboon <bone.baboon@disroot.org>
To: help-guix@gnu.org
Subject: `guix pull` of an ssh channel fails
Date: Tue, 11 May 2021 12:32:38 -0400 [thread overview]
Message-ID: <877dk5fcyh.fsf@disroot.org> (raw)
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://<user>@<ip-address>: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://<user>@<ip-address>:22/path/to/patched-guix-repo/'...
guix pull: error: Git error: error authenticating: no auth sock variable
```
I can successfully run `git clone
ssh://<user>@<ip-address>: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?
next reply other threads:[~2021-05-11 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-11 16:32 Bone Baboon [this message]
2021-05-12 20:08 ` `guix pull` of an ssh channel fails Bone Baboon
2021-05-13 17:36 ` Phil
2021-05-14 15:25 ` Bone Baboon
2021-05-15 7:07 ` Phil
2021-05-15 8:29 ` divoplade
2021-05-17 13:39 ` Bone Baboon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dk5fcyh.fsf@disroot.org \
--to=bone.baboon@disroot.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).