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:message-id:subject:to:references:from:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=jdoESdSHZm+ZeqZY i+EKv0XuHyUDD5VEQttZO9UvKdiJVibCyKIGk15GULQLocQRNvfPEPh2Q1+6gWOQ aKBKi/dPXGMwhINfGLd6Jbu9XNY2W4Il4PNRGKb6v+9rAs7b3TU5R46bDQuakLOz Zikj0+mw3K9BZvgPszdDW836tZo= 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:subject:to:references:from:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=EMcyus6NrwpMqHp5L0fudg j7cZ0=; b=QLJmql3/h32hNNXp13fq/maxFnL7KIXW5kQO/gb5jRfKdc39RsIu04 sVjs9IOy3cOTQWhw8m02ENeWbS3FRpd3R2osp8J+ofLDsRxmmyYiSFaBp6FNQ1cn 7YWgAWSAbPRSvutESaRxr9kPFZpBLviGj/PpNKP1H4kbys/qKb0Kc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.1 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=balestra, Balestra, H*MI:sk:BLU437-, H*f:sk:BLU437- X-HELO: BLU004-OMC1S3.hotmail.com X-TMN: [5NAUzggumP7O2PGGyL81VW8GagFdOpR6] Message-ID: Subject: Re: openSsh To: cygwin AT cygwin DOT com References: From: Massimo Balestra Date: Tue, 30 Aug 2016 11:32:22 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Forget it I copied the sshd_config from /etc/defaults/etc/sshd_config to /etc and now it works again as it should. Now I need to figure out what was the parameter that broke it Thank you On 8/30/2016 10:44 AM, Massimo Balestra wrote: > 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 AT 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 > -- 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