delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/23/06:19:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 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: <24622601.post@talk.nabble.com>
References: <fffce1910907160320qda98e88v6205ba6797da6fb4 AT mail DOT gmail DOT com> <20090716110318 DOT GL27613 AT calimero DOT vinschen DOT de> <24622601 DOT post AT talk DOT nabble DOT com>
From: Julio Costa <costaju AT gmail DOT com>
Date: Thu, 23 Jul 2009 11:19:03 +0100
Message-ID: <af075b00907230319v52b26371t343d1019d06a2158@mail.gmail.com>
Subject: Re: 1.7.0-51: Problem using ssh public/private key authentication
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

Hi Michael,

On Thu, Jul 23, 2009 at 10:49, Michael H.<> wrote:
>
>
> Corinna Vinschen-2 wrote:
>>
>> On Jul 16 12:20, Michael H. wrote:
>>> Hello,
>>>
>>> When I am using cygwin 1.5 both the public/private key and the
>>> keyboard authentication with ssh work without problems. On 1.7
>>> keyboard authentication also works but public/private key
>>> authentication produces following error on the machine which I use to
>>> connect to the server (client is Linux - server is Windows XP SP3 /
>>> Cygwin):
>>>
>>> 4 [main] -bash 3392 C:\cygwin\bin\bash.exe: *** fatal error - couldn't
>>> dynamically determine load address for 'WSAGetLastError' (handle
>>> 0xFFFFFFFF), Win32 error 126
>>> Connection to xx.xx.xx.xx closed.

I suspect of configuration / permissions problems...
Are you setting up some kind of chroot?
Also, is there any output on the /var/log/sshd.log file?

>>
>> Weird. =C2=A0Works fine for me.

me too.

>
> Is it possible that there is anything wrong in the steps I have done to
> setup the host (listed in my first post)?
>

At the first sight, no. But it's not clear if you are using the
vanilla standard config files.
If you did some change, it could be important to share with us.

You can also try to run sshd "by-hand" to show us some verbose info:
cygrunsrv -E sshd
/usr/sbin/sshd -ddde

Then you can try to connect to your PC and see if the generated output
gives you any clue.
NOTE: It's possible that the problem doesn't show up in this debugging
mode. You will be running the sshd deamon as yourself, not as the
SYSTEM account.

___________
Julio Costa

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