cygwin64 OpenSSH_8.1p1 client segmentation fault

vadim vadim.goryunov@gmail.com
Sat Dec 14 16:17:00 GMT 2019


I have just installed the latest cygwin32 and cygwin64 from scratch into 
new folders.

Tried ssh client in both.

The result is:

- cygwin32 CYGWIN_NT-6.1-WOW 3.0.7(0.338/5/3) 2019-04-30 18:04 i686
ssh works, but it hangs after I disconnect myself. I have to kill ssh 
process to continue the cygwin session.

- cygwin64 CYGWIN_NT-6.1-WOW 3.0.7(0.338/5/3) 2019-04-30 18:04 x86_64
ssh dies immediately after the connection is established using ssh-keys 
(i.e. after a successful login)

Both has version:
OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019

Vadim


On 14/12/2019 14:08, vadim wrote:
> Hi,
>
> I have recently upgraded Cygwin packages. After the upgrade ssh client 
> stopped working.
> It connects and logins using ssh keys as normal, but then the 
> connection is immediately dropped (ssh client process dies and 
> segfaults under strace).
> This is definitely not the server side issue as I have an old cygwin32 
> version (on the same PC) where ssh client logins to the same server 
> with the same ssh-keys just fine.
> I am also able to connect using putty with same ssh-keys.
>
> I was trying to rollback my installation of Cygwin, but unfortunately 
> setup-x86_64.exe does not offer this possibility.
> Please help me rolling back to some version of Cygwin where ssh client 
> is working.
> I tried all 3 versions of ssh and ssl that are available. Tried 
> re-installing OpenSSH and OpenSSL packages, but nothing helps.
>
> This 64-bit latest version is not working:
> $ ssh -V
> OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
>
> This is working 32bit version:
> $ ssh -V
> OpenSSH_6.1p1, OpenSSL 1.0.1e 11 Feb 2013
>
> ssh session logs attached:
>
> ssh-session-1.log - connection to host in known_hosts - without 
> questions, login is ok, then immediate disconnect.
>
> ssh-session-1.vvv.log - same but ssh -vvv option used
>
> ssh-session-1-strace.log - same under strace
>
> ssh-V.strace.log - running ssh -V and strace ssh -V (which also crashes)
>
> see also cygcheck.out
>
> thanks in advance for any help,
> Vadim Goryunov
>


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