X-Recipient: archive-cygwin@delorie.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:message-id:to:from:subject:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=LJZ
	BqPGh3TKkG2c4/lp7vBrbBvSR1783Yhdk+l/UcVbhJMdmYzYjCiSkTX4Qhzhs9QP
	JnFY+ImVz/0OFK5LONlWrNS9axgZ4O0pJSQ7Ju2YYgudd57Kt5mfQOpo7yIrhINb
	Zdo/css3qNPXGT9l99hStGWfCUyK48ce24hc392s=
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:message-id:to:from:subject:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=wTi7g1eVP
	BqstfOV6l099bNiREg=; b=KXNwYtfkOC4u0I6tg4JDrMEyYwDvNzD1aIBqy9vkM
	22EzJBV3Lnf766A20olSpAZLMqlMhu1GrOB2oD10SIH4A3XlpgwG9xJht66O9VNG
	nQTnuFsgxm7NKP048m0u7AYfVMNTaQJQ8mBUo/D7rxEvvnrFplVwDsZ/+lXMJmCC
	BA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:channel, H*r:7.5.7601.23008, H*r:secured, H*r:over
X-HELO: BLU004-OMC1S26.hotmail.com
X-TMN: [gXg5Q5t5d8l7zN5NBBrUJ9ws2elElVw+]
Message-ID: <BLU437-SMTP41FDE4D691D92F94226ADCB6E00@phx.gbl>
To: cygwin@cygwin.com
From: Massimo Balestra <massimobalestra@hotmail.com>
Subject: openSsh
Date: Tue, 30 Aug 2016 10:44:54 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi,
I have installed several years ago my cygwin openssh server (sshd) and 
it worked very well for a long time.
I use to connect to it in three ways:
1) from putty to open an interactive shell
2) from another cygwin on another PC using scp to copy files
3) (occasionally) from the cygwin on the other pc usin ssh to open an 
interactive shell or to execute simple commands.

Some months ago, after an upgrade, my sshd started to change its behavior
 From Putty it still worked
from the other cygwin ssh and scp hangs after the disconnect. I have to 
press ctrl+C to exit from ssh or scp
for example:
ssh me@remmote server "ls -l"
shows me the result of the ls and then it stays there until I press ctrl+C
Same behavior with scp

Last week, after another update, it got even worse.
 From putty it hangs on disconnect and I have to close the window.
from ssh after the disconnect (Ctrl+D) it hangs but the ctrl+C does 
nothing. I have to kill the ssh
from scp it hangs but the ctrl+C still works

I cannot understand what makes it hang.
I searched on google, checked the configuration options, nothing.
I deleted (renamed) all my bashrc files (in /etc/ and home dir) to see 
if there was a tunnel or something that would make it hang, but the only 
thing that changes is the prompt. It still hangs.

Note: it is not a firewall problem. It does the same if I ssh from 
localhost.

Can anyone help me to find a solution? It is very annoying.


Thanks
Massimo


--
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

