From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id e4NaLwpJvl59KgAA0tVLHw (envelope-from ) for ; Fri, 15 May 2020 07:47:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aJfVKgpJvl6TcgAA1q6Kng (envelope-from ) for ; Fri, 15 May 2020 07:47:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2473A940369 for ; Fri, 15 May 2020 07:47:22 +0000 (UTC) Received: from localhost ([::1]:44828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZV3v-00066K-Pj for larch@yhetil.org; Fri, 15 May 2020 03:47:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZV3f-00065f-Gg for bug-guix@gnu.org; Fri, 15 May 2020 03:47:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZV3e-0004aP-I5 for bug-guix@gnu.org; Fri, 15 May 2020 03:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZV3e-0008JU-GI for bug-guix@gnu.org; Fri, 15 May 2020 03:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41238: guix deploy close ssh session after each store items sent Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 15 May 2020 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41238 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Oleg Pykhalov Received: via spool by 41238-submit@debbugs.gnu.org id=B41238.158952879631923 (code B ref 41238); Fri, 15 May 2020 07:47:02 +0000 Received: (at 41238) by debbugs.gnu.org; 15 May 2020 07:46:36 +0000 Received: from localhost ([127.0.0.1]:35773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZV3D-0008Ip-PZ for submit@debbugs.gnu.org; Fri, 15 May 2020 03:46:35 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:45299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZV3B-0008Ia-9S for 41238@debbugs.gnu.org; Fri, 15 May 2020 03:46:34 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay11.mail.gandi.net (Postfix) with ESMTPA id 373B4100004; Fri, 15 May 2020 07:46:26 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 15 May 2020 07:46:25 +0000 From: Brice Waegeneire In-Reply-To: <87wo5du1id.fsf@gmail.com> References: <0156447bb0d526cdfe42d51a154a2bd3@waegenei.re> <87wo5du1id.fsf@gmail.com> Message-ID: X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41238@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: qU+3aYFjPPfC On 2020-05-15 06:59, Oleg Pykhalov wrote: > Brice Waegeneire 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