X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=EkfD/i+aEuPXwjZD ipm9uskmL2UxzYi5WnInGvOffraYI6Fx9pulTuW//2A+e6R3tXCZuPsvkk+q2fR3 AuxCugwxqIdC6oSqxFb+4YwWXqIrDgQFn9lF3EYcsdeLosf/CnKVB5d16r4KOnNN CTqm+gYfUEw5QjoCzaaYMN3BtSw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=UT7TCfsO2WTm1kZptzFByE JNyYk=; b=jW6PS701baLEZz+TKJl7avm0QM8F6eX7Gm3wqwkwC37WNXwXbx2V1n nPDBgDHn5geh/HVaFr34BMsbi9B4xguE+41Wo7MGP5A6RwlyN8cQUH2fukpeHbeK SCVpiviFQ4wYAqZVjnj56e9ArWHocpuTT6HZPPgt4zYPc3pTwKn44= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173001pub.verizon.net Message-id: <525C8DC8.7000704@cygwin.com> Date: Mon, 14 Oct 2013 20:35:20 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: SSH Key Authentication is not working References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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