ssh pubkey exchange failing at send_pubkey_test

Earnie Boyd earnie@users.sourceforge.net
Tue Jan 24 13:08:00 GMT 2012


On Mon, Jan 23, 2012 at 5:41 PM, Andrew DeFaria <Andrew@defaria.com> wrote:
> On 1/23/2012 2:22 PM, Larry Hall (Cygwin) wrote:
>>
>> 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.
>
> I'm on XP. I log into a domain. sshd is running as Local System account. I
> can log in if I specify my password. It's just pre-shared key that isn't
> working and I believe this to be a permissions problem (see other postings
> about permissions problems).

Make sure ~/.ssh directory has 700 permissions.  Make sure the
~/.ssh/authorized_keys file has 600 permissions.  The authorized_keys
entry is one line and is the public key of the key pair.

HTH,
-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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



More information about the Cygwin mailing list