Subject: Re: bug#41238: guix deploy close ssh session after each store items sent

From: Oleg Pykhalov <[email-masked]>
Date: Fri, 15 May 2020 09:59:38 +0300

Brice Waegeneire <[email-masked]> 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