[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix copy connection problems

From: Marius Bakke
Subject: Re: guix copy connection problems
Date: Sat, 27 Jul 2019 23:30:55 +0200
User-agent: Notmuch/0.29.1 ( Emacs/26.2 (x86_64-pc-linux-gnu)

Jack Hill <address@hidden> writes:

> Hello Guix,
> I'm trying to use `guix copy` to copy some store items from a more 
> powerful computer to my laptop. I've tried to set everything up correctly 
> with ssh-agent, and I can ssh without being prompted for credentials, but 
> guix-initiated connections are timing out, so clearly I'm missing 
> something, but I don't know what. Perhaps the following session transcript 
> with show what I'm missing:
> ```
> $ env|grep -i ssh
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> jackhill@alperton ~$ ssh-add -l
> 256 SHA256:g7qjlV99AHx3R2/ZlkeMGPqnYGzwPJjhVY5y7WX1a/E jackhill@alperton 
> (ED25519)
> jackhill@alperton ~$ ssh jackhill@remote
> Last login: Fri Jul 26 21:38:23 2019 from
> jackhill@remote ~$ logout
> Connection to remote closed.
> jackhill@alperton ~$ guix copy --from="jackhill@remote" icecat
> guix copy: error: SSH connection to 'remote' failed: Timeout connecting to 
> remote
> ```

'guix copy' does not currently support the 'user@host' style.  Instead
you have to configure your ~/.ssh/config such that 'ssh hostname' works,
then you can use guix copy --to=hostname-or-ip.

I suspect adding support for 'user@host' should not be too difficult,
without having looked at the code ;-)

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]