--- Begin Message ---
Subject: |
ssh: ‘send-files’ silently fails if key is not authorized on remote target |
Date: |
Thu, 18 May 2017 00:05:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
I just noticed that something like:
guix copy --to=REMOTE /gnu/store/….drv
seems to work (it actually sends data) but silently fails if the host’s
nar signing key is not authorized on REMOTE (that is, the store items
are not added to REMOTE’s store but there’s no error message). Same
problem with ‘guix offload’ since both use ‘send-files’ in (guix ssh).
This is on v0.12.0-3916-g411ba5118.
Ludo’.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26972: ssh: ‘send-files’ silently fails if key is not authorized on remote target |
Date: |
Sun, 04 Jun 2017 23:04:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> I just noticed that something like:
>
> guix copy --to=REMOTE /gnu/store/….drv
>
> seems to work (it actually sends data) but silently fails if the host’s
> nar signing key is not authorized on REMOTE (that is, the store items
> are not added to REMOTE’s store but there’s no error message). Same
> problem with ‘guix offload’ since both use ‘send-files’ in (guix ssh).
>
> This is on v0.12.0-3916-g411ba5118.
Fixed in commit de9d8f0e295928d92e0e5ea43a4e594fa78c76fb. Now we get:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix copy --to=localhost sed
sending 1 store item to 'localhost'...
guix copy: error: build failed: program `guix-authenticate' failed with exit
code 1
--8<---------------cut here---------------end--------------->8---
Ludo’.
--- End Message ---