delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/24/09:15:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <26914285.post@talk.nabble.com>
Date: Thu, 24 Dec 2009 06:15:41 -0800 (PST)
From: XYM <xymotion AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.0-51: Problem using ssh public/private key authentication
In-Reply-To: <26913810.post@talk.nabble.com>
MIME-Version: 1.0
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> <26902826 DOT post AT talk DOT nabble DOT com> <26912224 DOT post AT talk DOT nabble DOT com> <26912228 DOT post AT talk DOT nabble DOT com> <26913810 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Thank you.

I've tried like described. Works.

But I think that it should be possible to run the service as local system,
maybe someone has a solution for this.

XYM



THW Mark wrote:
> 
> 
> XYM wrote:
>> 
>> I've done some tests. Normally my passwordauthentification is set to no
>> cause I only want to allow access with key. Now I've set to yes. Login
>> with user/pass works here, too. With key no chance.
>> 
>> XYM
>> 
>> 
> 
> i think i found a solution/workaround!
> 
> - I had a useraccount 'user' with password in windows that is the same
> user that logs in over ssh
> - i stopped the windows service
> - in cygwin, i deleted the folder /var/empty
> - then, i recreated the folder /var/empty (default access rights)
> - in the services panel, open properties for the ssh service
> - change the account in the second tab to "user" with the password
> included
> - start the service
> 
> the service now starts, can use the /var/empty folder with the right
> permissions and allows ssh connection! i'm a happy man, time for turkey!
> :P
> 

-- 
View this message in context: http://old.nabble.com/1.7.0-51%3A-Problem-using-ssh-public-private-key-authentication-tp24513829p26914285.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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