delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/30/03:56:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B3AC168.3040000@eburg.com>
References: <4B3AC168 DOT 3040000 AT eburg DOT com>
Date: Wed, 30 Dec 2009 10:56:39 +0200
Message-ID: <1ef5a52f0912300056n2eb8e93q93099e757dc56669@mail.gmail.com>
Subject: Re: Can't use key authentication on x64 Server 2003 R2
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Cc: yinyang AT eburg DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, Dec 30, 2009 at 4:56 AM, Gordon Messmer <> wrote:
> Since upgrading to Cygwin 1.7, I'm no longer able to use key authenticati=
on
> on one of several Windows systems. =A0All of the working systems are 32 b=
it
> installs, the one which isn't working is 64 bit.
.....
> When the client connects, I get this error:
>
> =A0 # ssh -i id_rsa gordon AT exch64 DOT xxx DOT local
> =A0 Last login: Tue Dec 29 13:17:34 2009 from backup.xxx.local
> =A0 =A0 =A0 =A0 =A01 [main] -bash 6832 C:\cygwin\bin\bash.exe: *** fatal =
error -
> =A0 couldn't dynamically determine load address for 'WSAGetLastError'
> =A0 (handle 0xFFFFFFFF), Win32 error 126
> =A0 Connection to exch64.xxx.local closed.

If I understand this correctly, it is the ssh client which quits
abruptly. Error 126 is "The notorious error 126 (ERROR_MOD_NOT_FOUND)
when loading DLL/DSO's in Win32" (first hit when googling "Win32 error
126"). However, WSAGetLastError is in ws2_32.dll, which is part of
Windows. But, being a 32-bit dll in a 64-bit Windows, maybe it's in
another directory which is not on the path. Check the folder of
ws2_32.dll

Were you connecting from exch64 to exch64 ?

Hope this helps,
Csaba
--=20
Life is complex, with real and imaginary parts

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