[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41238: guix deploy close ssh session after each store items sent
From: |
Brice Waegeneire |
Subject: |
bug#41238: guix deploy close ssh session after each store items sent |
Date: |
Fri, 15 May 2020 07:46:25 +0000 |
User-agent: |
Roundcube Webmail/1.3.8 |
On 2020-05-15 06:59, Oleg Pykhalov wrote:
Brice Waegeneire <address@hidden> writes:
“guix deploy” bugs; they keep coming! “guix deploy” doesn't make use
of SSH
channels[0], instead it close the SSH session each time after sending
store
items.
Did you try a built in SSH's “Control*” feature?
ssh_config (0)
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
ControlPersist yes
Of course, it's my default setting for SSH (and the host I tried to
deploy
to). But “guix deploy” don't support it; it's the core of the issue
here.
I didn't mention those options in the initial bug report because IFAIK
the
ssh functionality for “guix deploy” is provided by guile-ssh, a wrapper
around libssh which isn't related to OpenSSH in any way. So the
“Control*”
options doesn't apply here, instead they talk about channels and
session[0]
which seems to be the terms used in the SSH specification.
[0]: https://api.libssh.org/stable/libssh_tutor_guided_tour.html