[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: |
Tue, 18 Jan 2022 08:08:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) |
Hello Guix,
Brice Waegeneire <brice@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.
[...]
Ludo‘ fixed the issue with the commit 7f20e59a13a6acc3331e04185b8f1ed2538dcd0a.
For posterity, here is the workaround I was using a few month ago and is now
unecessary. The session filed needed to be manually set with a call to
"openssh-ssh-session" from (guix ssh):
--8<---------------cut here---------------start------------->8---
(machine-ssh-configuration
(host-name "foo")
(system "x86_64-linux")
(session (open-ssh-session "foo" #:user "root"))
(host-key "..."))
--8<---------------cut here---------------end--------------->8---
Currently the following suffice:
--8<---------------cut here---------------start------------->8---
(machine-ssh-configuration
(host-name "foo")
(system "x86_64-linux")
(user "root")
(host-key "..."))
--8<---------------cut here---------------end--------------->8---
Cheers,
- Brice
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#41238: guix deploy close ssh session after each store items sent,
Brice Waegeneire <=