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 Date: Tue, 14 May 2002 18:44:06 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <194366549099.20020514184406@familiehaase.de> To: "Harig, Mark A." CC: cygwin AT cygwin DOT com Subject: Re: can connect to sshd on linux but not on cygwin In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mark schrieb: > 1. Have you checked the file/directory permissions on all three > machines?: > 1) the Win2K machine that is running sshd It is a NT$ Server where SSHD is running on. > 2) your machine that is attempting to connect to the Win2K machine I fixed all the permission on my W2K workstation. > 3) your collegue's machine that is attempting to connect to the Win2K > machine. Hmmm, he uses an NT4 and PuTTY to connect the Linux box and since I reported that using only publickey auth isn't working yet he didn't tried it recently. I will ask him tomorrow. BTW, it is also not possible to connect with PuTTY (with PuTTY keys which is also working well to the Linux box, see below). > 2. You might want to check /etc/sshd_config to see if StrictModes is set > to yes. StrictModes no > 3. Check your /etc/passwd entries on machines 2) and 3), above. Do your > entries on these machines match your entries in /etc/passwd on 1)? To > be sure, copy /etc/passwd from 1) to 2) and 3) (with a different file > name during the copying) and cut&paste your passwd entry from machine 1) > to the /etc/passwd on machines 2) and 3). Ah, do they need to match? Why? Anyway my entries are matching. And I can login at the unix box and they aren't matching there. With PuTTY: login as: gerrit Sent username "gerrit" Trying public key authentication. No passphrase required. Couldn't load private key from C:\cygwin\home\gerrit\.ssh\putty-dsa-key. gerrit AT domain DOT de's password: And password auth fails because it is disabled. login as: gerrit Authenticating with public key "gerrit AT domain DOT de" Passphrase for key "gerrit AT domain DOT de": Last login: Tue May 14 17:36:16 2002 from domain.de Have a lot of fun... sh: /usr/X11R6/bin/xauth: No such file or directory gerrit AT linux ~ -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/