Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <200506041025.j54APIK10555@ani.mywh.net> From: =?iso-8859-1?Q?Tevfik_Karag=FClle?= To: Subject: RE: Problems with OpenSSH/Cygwin connectivity to Windows NT/2000 machines. Date: Sat, 4 Jun 2005 12:25:12 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; boundary="----=_NextPart_000_00C1_01C56900.735BCE00"; protocol="application/x-pkcs7-signature"; micalg=SHA1 ------=_NextPart_000_00C1_01C56900.735BCE00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I tested password authentication with Putty 0.53 and ssh 4.1. Both fail. Switches '-vvv' on client side and '-d -d -d' on daemon side gave no reasonable explanations. We established environment 2 (Cygwin 1.5.17, openssh 4.1p-1, openssl 0.9.7g) on an 2000 machine.=20 Putty/ssh from an XP PC and a 2000 server gave 'access denied' errors. We made then a simple update: replacing cygwin1.dll v1.5.17 with v1.5.14. Everything works as expected. That's reason I sent a message to this mailing list. It seems to me it might be something in cygwin1.dll causing the problem. Best regards Tev > -----Original Message----- > From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]=20 > Sent: 4. juni 2005 02:07 > To: Tevfik Karag=FClle > Cc: cygwin AT cygwin DOT com > Subject: Re: Problems with OpenSSH/Cygwin connectivity to=20 > Windows NT/2000 machines. >=20 > On Fri, 3 Jun 2005, Tevfik Karag=FClle wrote: >=20 > > Hi, > > > > Are there essential differences between cygwin versions 1.5.14 and=20 > > 1.5.17 regarding openssh authentication ? > > > > I have two test environments: > > > > 1) Cygwin 1.5.14, openssh 4.1p-1, openssl 0.9.7g > > 2) Cygwin 1.5.17, openssh 4.1p-1, openssl 0.9.7g > > > > While everything (nt/2000/xp/2003) work as expected in=20 > environment 1,=20 > > we get 'access denied' messages when we try to connect to nt/2000=20 > > machines in environment 2. Xp and 2003 work just fine. > > > > Any clues ? >=20 > Since you mention authentication, I assume you're asking=20 > about sshd. I also assume you've eliminated the client from=20 > the equation by using the same host to ssh into the machines=20 > in question. >=20 > In what situation do you get "access denied"? Do you use=20 > public key authentication? Are your permissions identical on=20 > sshd support/config files? Are /etc/passwd and /etc/group=20 > files up-to-date on both machines? > Did you try running sshd with debugging flags? Do you get=20 > any messages in the log files or in the Windows Event Log?=20=20 > What does "ssh -vvv" (yes, on the client) report when=20 > connecting to both working and non-working machines? >=20 > If worse comes to worst, and the above doesn't provide any=20 > clues, there's always strace (the output of which from both=20 > machines can be compared easily enough). > Igor > --=20 > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu > ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! >=20 > "The Sun will pass between the Earth and the Moon tonight for=20 > a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27=20 > 2004, 12:01 pm EDT >=20 ------=_NextPart_000_00C1_01C56900.735BCE00 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIIwTCCAkkwggGyoAMCAQICAw7C8DANBgkqhkiG9w0BAQQFADBiMQsw CQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkg THRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwHhcNMDUwNTIyMjE1MTE5WhcNMDYwNTIyMjE1MTE5WjBCMR8wHQYD VQQDExZUaG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