delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/23/17:23:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.9 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4F1DDDA8.5000909@cygwin.com>
Date: Mon, 23 Jan 2012 17:22:32 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ssh pubkey exchange failing at send_pubkey_test
References: <4F1A8F1C DOT 40002 AT chalmers DOT se>
In-reply-to: <4F1A8F1C.40002@chalmers.se>
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

On 1/21/2012 5:10 AM, Hans-Georg Scherneck wrote:
>> My cygwin runs on a Windows 7. My problem is similar to a previous one
>>
>> * /From/: Christophe Sauthier<christophe dot sauthier at gmail dot com>
>> * /To/: Cygwin List<cygwin at cygwin dot com>
>> * /Date/: Wed, 13 Apr 2005 10:39:14 +0200
>> * /Subject/: Re: Strange behaviour of Openssh
>>
>>
>> however it's really different. My problem occurs earlier in the
>> process.
>>
>> I try to log in with ssh passwordless into a server that I've set up. sshd
>> is running there. I can log in with password.
>> When I set up the crypto (ssh-keygen -t ecdsa) and install the pub key at
>> the host, I can't login anymore, not by defaulting to password either.
>>
>>
>>
>> How did you configure ssh? Did you run ssh-user-config?
>> Does it work with the default rsa key?
>>
>> --
>> Larry
>
>
> Larry,
> yes, I configured with ssh-user-config
> No, it does not work with RSA keys either.
> After a renewed ssh-user-config on the host side, the debug looks the same
> (except ecdsa -> rsa)
> ssh -vvv -i .ssh/id_rsa.pub me AT server
> see debug output at
> http://froste.oso.chalmers.se/hgs/cygwin/ssh-login-rsa-failure.txt

When I've seen this before on this list, it's because you are in a domain
and your user is a domain user.  If that's the case, you want to create a
domain account to run your sshd server or use a local user to ssh in with.
If this doesn't describe your situation, I'd recommend adding debug flags
to your sshd server so that you can see a full log of things on that side
of the fence.  Typically this is very illuminating for server-side issues.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

- Raw text -


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