openSsh

Massimo Balestra massimobalestra@hotmail.com
Tue Aug 30 20:56:00 GMT 2016


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



More information about the Cygwin mailing list