delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/24/08:18:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <26913810.post@talk.nabble.com>
Date: Thu, 24 Dec 2009 05:18:29 -0800 (PST)
From: THW Mark <cwvandeven 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: <26912228.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>
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


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