* guix copy connection problems
@ 2019-07-27 2:38 Jack Hill
2019-07-27 21:30 ` Marius Bakke
0 siblings, 1 reply; 2+ messages in thread
From: Jack Hill @ 2019-07-27 2:38 UTC (permalink / raw)
To: help-guix
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 107.15.18.231
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
```
Best,
Jack
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guix copy connection problems
2019-07-27 2:38 guix copy connection problems Jack Hill
@ 2019-07-27 21:30 ` Marius Bakke
0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2019-07-27 21:30 UTC (permalink / raw)
To: Jack Hill, help-guix
[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]
Jack Hill <jackhill@jackhill.us> 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 107.15.18.231
> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-27 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-27 2:38 guix copy connection problems Jack Hill
2019-07-27 21:30 ` Marius Bakke
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).