On 2020-05-15 06:59, Oleg Pykhalov wrote:
Brice Waegeneire <br...@waegenei.re> 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