X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <361230.45413.qm@web33508.mail.mud.yahoo.com> References: <1253654636 DOT 345 DOT ezmlm AT cygwin DOT com> <583331 DOT 35165 DOT qm AT web33505 DOT mail DOT mud DOT yahoo DOT com> <4AB96384 DOT 3080802 AT gmail DOT com> Date: Wed, 23 Sep 2009 08:01:06 -0700 (PDT) From: Dave M Subject: Fw: Permission denied (publickey,password,keyboard-interactive). To: cygwin AT cygwin DOT com Cc: dave DOT korn DOT cygwin AT googlemail DOT com In-Reply-To: <4AB96384.3080802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Dave, I checked that readme file. Um, I am not sure what it is telling me, it is not really laid out step by step. I think it would be more useful if I read it from the bottom to the top. But still, I THINK I did everything it suggested. I had run ssh-host-config before, today I ran ssh-user-config and made SYSTEM the owner of /var/empty and checked the permissions on the sshd_server account (the host-config script had set them correctly, I didn't have to do anything to the account privileges). After that, I did this: $ ssh localhost -l test ssh_exchange_identification: Connection closed by remote host So, at least that is different. the sshd.log file in /var/log is still empty, so I don't know how to interpret this result. Also, every time I log in to the bash shell, I get this: Your group is currently "mkgroup". This indicates that the /etc/group (and possibly /etc/passwd) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] > /etc/passwd mkgroup -l [-d] > /etc/group Note that the -d switch is necessary for domain users. I have run: mkpasswd -l > /etc/passwd mkgroup -l > /etc/group Both successfully (in that order) and the contents of those files "look" right, but I still keep getting that message. I don't know if this is related or not. I hope this helps troubleshoot this issue, I am really lost and just trying to help get this resolved. Dave M ----- Original Message ---- From: Dave Korn To: cygwin AT cygwin DOT com Sent: Tuesday, September 22, 2009 5:53:40 PM Subject: Re: Permission denied (publickey,password,keyboard-interactive). Dave M wrote: > Hi! > > I am following this: > http://pigtail.net/LRP/printsrv/cygwin-sshd.html All but the part about not asking questions here if their non-standard instructions don't work for you! Heh, moving swiftly along there ... > And I am to the part where I am testing ssh with the following command: > $ ssh localhost -l test AT localhost > Test is a local account and a member of the local admin group. I think the one localhost is enough and the -l option should have the name only shouldn't it? So try either ssh localhost -l test or ssh test AT localhost but don't try adding a host part to the -l argument. I think that'll do it. cheers, DaveK -- 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