delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/20/17:47:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=Y0wiyv5
ky3PK6eOK/Flu1zaeklEIZZg4ucWxWZ1ZEZrSnY/GMTLjCsbE3DNfgivJyCpzg6D
rPWPet4kCveOdpCsMOs2L9IhiALJzTt/NR7hUOlgpSUeDm/lshngSshIZNI1hz6o
ziw7To4C+WnzV8o1jWp/Q51iDL5x8o/J35O4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=0ItFhBsoIkb9K
gBgCo2F8E3eFLU=; b=BD2MkqczvhsMGdjZNsEHyhmj+YhNwc1Gs6VNn0RxcJa7G
81fdItawH26CRT4i98JNJI6s8UAg2DjsnaUXXvYn7tpf/dQEvBkBIyXymcZrirbQ
UwngrTOlICfoKl3uhVDFF5YddT6vLQiX5uDPj4gZ9LI6sNzMbnxKhbKi0Gfi1M=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=corinna-cygwin AT cygwin DOT com, sk:corinna, U*corinna-cygwin, corinnacygwincygwincom
X-HELO: mail-wj0-f175.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eT35uZOJTKqKypDaJyoYNILYhY+aA+83yNRhN19DxqI=; b=Q6Xw3lOFrXA7FYUSa9VhSM2TKnXuglyDBWEaGl4L+yJaUivfQgAfWUBsqMB/FdVPLm 7OojthctNL5VgRP1l7rfX+8TASo09O0N5X7IRFTR+9G8ju9cK4eq8bgImXigGKgHCcUQ WzONT9dppRyFn5GpKSdL2VHDktJRACiVW7EEDbRDSTcUWt49KNOpyOgYZtT4oUxo2nHy EwZ1so/NDKzxGIyiqTTVa2azhRmw93FEsLhGdjInFXFNIWTtQ1vwevDwfhvQZ8tZRhmF XU7IBdvP1LCY78jFDqyYBeoFnxLrShbN5KZ6XUCgGV2289S1V/ItK+PibUN5bzRDWp3F rLcA==
X-Gm-Message-State: AIkVDXIG0GLsnGogOai93xhjFu+F5k5/kHpN9+iWcbGMai/GEX4oFZNnyssb1kz9yXFHc9lnTYSVzHXKM8/Rbw==
X-Received: by 10.194.149.143 with SMTP id ua15mr1611609wjb.48.1482274004364; Tue, 20 Dec 2016 14:46:44 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <announce.20161220204451.GA11925@calimero.vinschen.de>
References: <announce DOT 20161220204451 DOT GA11925 AT calimero DOT vinschen DOT de>
From: Ismail Donmez <ismail AT i10z DOT com>
Date: Tue, 20 Dec 2016 23:46:13 +0100
Message-ID: <CAFo71_6_9qrgn8L5Zg=m+_3pUz53SB321XPnAUuqJ=Ss+12-yg@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] Updated: OpenSSH-7.4p1-1
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hi,

On Tue, Dec 20, 2016 at 9:44 PM, Corinna Vinschen
<corinna-cygwin AT cygwin DOT com> wrote:
> I've just updated the Cygwin version of OpenSSH to 7.4p1-1.
>
> This is primarily an upstream bugfix release.
>
> Below's the original release message.
[...]
>  * ssh(1): Add a proxy multiplexing mode to ssh(1) inspired by the
>    version in PuTTY by Simon Tatham. This allows a multiplexing
>    client to communicate with the master process using a subset of
>    the SSH packet and channels protocol over a Unix-domain socket,
>    with the main process acting as a proxy that translates channel
>    IDs, etc.  This allows multiplexing mode to run on systems that
>    lack file- descriptor passing (used by current multiplexing
>    code) and potentially, in conjunction with Unix-domain socket
>    forwarding, with the client and multiplexing master process on
>    different machines. Multiplexing proxy mode may be invoked using
>    "ssh -O proxy ..."

Looks like this could be used for connection multiplexing on Cygwin.
Since it doesn't seem to be documented I am not sure how one can test
it, but ...

with


Host *
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p

latte ~ > ssh i10z.com
mux_client_request_session: read from master failed: Connection reset by peer
Failed to connect to new control master

--> Fails as expected, lets retry.

latte ~ > ssh i10z.com
mux_client_request_session: read from master failed: Connection reset by peer
ControlSocket /home/ismail/.ssh/master-ismail AT i10z DOT com:22 already
exists, disabling multiplexing
Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-30-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
Last login: Tue Dec 20 23:42:56 2016 from 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79

--> Started a new session and created the master too.

latte ~ > ssh -O proxy i10z.com
Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-30-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
Last login: Tue Dec 20 23:43:02 2016 from 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79

--> Started a new session.

latte ~ > ssh -O proxy i10z.com
Last login: Tue Dec 20 23:43:06 2016 from 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79

--> Voila, it used the existing connection!

And after that it indeed seems to be using the old connection as long
as you specify -O proxy option.

Something to play with I guess.

Regards,
ismail

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019