X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <26902826.post@talk.nabble.com> Date: Wed, 23 Dec 2009 06:24:52 -0800 (PST) From: XYM To: cygwin AT cygwin DOT com Subject: Re: 1.7.0-51: Problem using ssh public/private key authentication In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <20090716110318 DOT GL27613 AT calimero DOT vinschen DOT de> <24622601 DOT post AT talk DOT nabble DOT com> <24680138 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hello, I have encountered same problem after upgrading to 1.7.x. First to say that I'm not so familiar with all of that. I was running a ssh-server and connect with Putty to my server using a tunnel. Everything works fine till today. After upgrading to 1.7.x and trying to connect to my server I get the following message: 2 [main] -bash 3776 C:\CygWin\bin\bash.exe: *** fatal error - couldn't dynamically determine load address for 'WSAGetLastError' (handle 0xFFFFFFFF), Win32 error 126 Tried to set up new sshd but no change. Any ideas? Happy X-Mas. :) Ren=C3=A9 Berber-2 wrote: >=20 > Michael H. wrote: >=20 > [snip] >> The steps to reproduce have been done directly after installing Cygwin >> without any modifications. The logfile /var/log/sshd.log is empty even >> after >> the error has been printed on the Linux machine from which I connected to >> the Windows / Cygwin machine. >=20 > The "system log" the manual refers to is not the one you are looking at, > its /var/log/messages and is only active if you installed and use syslog > (I prefer syslog-ng). >=20 >> I executed the commands >>=20 >> $ cygrunsrv -E sshd >> $ /usr/sbin/sshd -ddde >=20 > And there you are creating the problem... or another problem: the > service runs as a special user, when you run it yourself its running as > your user so, if it works, that means you have permissions set to run as > your user not the service user. Did that made sense? or I managed to > make something simple into some obscure fact. >=20 > The usual fix for what I described is to run the service installation > again, it should complain about the permissions so you can fix them. > --=20 > Ren=C3=A9 Berber >=20 >=20 > -- > 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 >=20 >=20 >=20 --=20 View this message in context: http://old.nabble.com/1.7.0-51%3A-Problem-usi= ng-ssh-public-private-key-authentication-tp24513829p26902826.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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