delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/09/10:09:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48C68362.3050102@free.fr>
Date: Tue, 09 Sep 2008 16:08:34 +0200
From: cuicui <cuicui DOT oizo AT free DOT fr>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: SSH publickey problem, password works (Win 2003, OpenSSH_5.1p1, Cygwin DLL1.5.25 )
References: <48C640CF DOT 6060809 AT scn DOT org>
In-Reply-To: <48C640CF.6060809@scn.org>
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (asterix.univ-paris1.fr [IPv6:2001:660:3305::71]); Tue, 09 Sep 2008 16:08:38 +0200 (CEST)
X-up1-MailScanner-Information: Please contact the ISP for more information
X-up1-MailScanner: Found to be clean
X-up1-MailScanner-From: cuicui DOT oizo AT free DOT fr
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Just Me a écrit :
> I've been fighting with SSH for a week now, I've read everything I can
> google, it's finally time to ask for help.
> 
> I can ssh to any account using a password, no problem.  It bombs with a
> cannot seteuid error in the event log when I use a keypair.

I had the same "symptoms" recently, I deleted all /etc/ssh_host_* files 
and did a "ssh-host-config -y" and discovered various permission 
problems on /var, /etc/passwd and /etc/group. This was on Windows XP.

What you can do is:

  - net stop sshd
  - cyrunsrv -R sshd
  - rm -f /etc/ssh_host_*
  - ssh-host-config -y => might display some useful error messages

I'm not familiar with sshd under Windows 2003 Server but this procedure 
fixes almost all my sshd issues with Windows XP.

Regards,

Nicolas

-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019