This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SSH Key Authentication is not working
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 14 Oct 2013 20:35:20 -0400
- Subject: Re: SSH Key Authentication is not working
- Authentication-results: sourceware.org; auth=none
- References: <CALHkaY86UwRho0880z4-as_ca3w0rB1_d_ZhHTFKxfkDxpfANg at mail dot gmail dot com> <CALHkaY9QeGbg3tGs9V0jUPPAngOjaJn-NzwE7Y9Qg3xuAc7Kmg at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
On 10/14/2013 6:11 PM, Tadej Animalix wrote:
Hey,
I'm turning here for help since I have a feeling that I searched the
whole web and I didn't find a solution.
I use CYGWIN on Windows 7 to allow connections via SSH, and it works
OK if I use username and password for authentication, but it doesn't
work with key authentication.
At first I noticed that Putty log contains this events
("SSH2_MSG_USERAUTH_REQUEST" sent as last message):
Event Log: Offered public key
Event Log: Server unexpectedly closed network connection
In sshd.log I found that this error was recorded:
"0 [main] sshd 20872 fork: child -1 - forked process 17012 died
unexpectedly, retry 0, exit code 0xC000007B, errno 11"
I looked further and I found that in Windows "Event Viewer" error gets
reported by sshd:
"The description for Event ID 0 from source sshd cannot be found.
Either the component that raises this event is not installed on your
local computer or the installation is corrupted. You can install or
repair the component on the local computer.
If the event originated on another computer, the display
information had to be saved with the event.
The following information was included with the event:
sshd: PID 17112: fatal: seteuid 1000: Operation not permitted"
I found a guy who had similar problem
(http://cygwin.com/ml/cygwin/2012-06/msg00316.html), and there they
mention "there is no solution" for this problem, so I was wondering if
that's true?
You have a different error code so it's not clear that this is the
same case.
Could someone please push me into the right direction?
Sure. Let's start here:
Problem reports: http://cygwin.com/problems.html
Include how you've configured 'sshd' and your cygcheck output in your
follow-up.
--
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