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: <01cc01c2fae4$eed502e0$5300a8c0@pomello> From: "Max Bowsher" To: , References: Subject: Re: OpenSSH PublicKeyAuthentication failure using cygrunsrv Date: Fri, 4 Apr 2003 20:02:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 jim DOT a DOT davidson AT bt DOT com wrote: > I have recently installed the latest Cygwin Version on my W2k test server > along with the latest > OpenSSH package. > I find that if I manually start the sshd daemon I can login ok using > PublicKeyAuthentication but when I create an NT Service using cygrunsrv > that this fails (although password authentication is ok).I suspect that > this may be a permissions problem but have run out of things to try. > Here is the debug output from the sshd server using the loopback address. > If anyone can offer any advice/suggestions,it would be much appreciated. > Thanks. > > OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f > debug1: Reading configuration data /etc/ssh_config > debug1: Rhosts Authentication disabled, originating port will not be > trusted. > debug2: ssh_connect: needpriv 0 > debug1: Connecting to hhhhhhh [81.134.40.222] port 22. > debug1: Connection established. > debug1: identity file /ssh/.ssh/identity type -1 > debug1: identity file /ssh/.ssh/id_rsa type -1 > debug1: identity file /ssh/.ssh/id_dsa type 2 Why is ssh looking in this rather odd location? Did you previously have NetworkSimplicity SSH installed? Please attach the output of "cygcheck -svr" to your reply. Max. -- 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/