| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B338EF3.4040102@cygwin.com> |
| Date: | Thu, 24 Dec 2009 10:55:31 -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 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: 1.7.0-51: Problem using ssh public/private key authentication |
| References: | <fffce1910907160320qda98e88v6205ba6797da6fb4 AT mail DOT gmail DOT com> <20090716110318 DOT GL27613 AT calimero DOT vinschen DOT de> <24622601 DOT post AT talk DOT nabble DOT com> <af075b00907230319v52b26371t343d1019d06a2158 AT mail DOT gmail DOT com> <24680138 DOT post AT talk DOT nabble DOT com> <h4knfv$67e$1 AT ger DOT gmane DOT org> <26913629 DOT post AT talk DOT nabble DOT com> |
| In-Reply-To: | <26913629.post@talk.nabble.com> |
| 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 12/24/2009 07:55 AM, THW Mark wrote:
>
>
> René Berber-2 wrote:
>>
>> Michael H. wrote:
>>
>>> $ cygrunsrv -E sshd
>>> $ /usr/sbin/sshd -ddde
>>
>> And there you are creating the problem... or another problem: the
>> service runs as a special user, when you run it yourself its running as
>> your user so, if it works, that means you have permissions set to run as
>> your user not the service user. Did that made sense? or I managed to
>> make something simple into some obscure fact.
>>
>
> I can confirm that running sshd as a local user indeed works. (for a one
> time connection). So, the solution must be with access rights to one or more
> files. Suggestions are very welcome here..
In order to get this working, you'll need to undo what you have done. You can
either:
1. Audit ssh-host-config and ssh-user-config to reset all the permissions
and
state back to the default.
2. Remove Cygwin and reinstall, running ssh-host-config and ssh-user-config
once "openssh" has been installed and after reading /usr/share/doc/Cygwin/
openssh*. If that doesn't work, then before fiddling, read and follow
the
problem reporting guidelines found at the link below to report the issue
here. Then someone here may be able to help you track down the
problem.
<http://cygwin.com/problems.html>
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |