X-Recipient: archive-cygwin@delorie.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@gmail.com>
To: cygwin@cygwin.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
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <fffce1910907160320qda98e88v6205ba6797da6fb4@mail.gmail.com> <20090716110318.GL27613@calimero.vinschen.de> <24622601.post@talk.nabble.com> <af075b00907230319v52b26371t343d1019d06a2158@mail.gmail.com> <24680138.post@talk.nabble.com> <h4knfv$67e$1@ger.gmane.org> <26902826.post@talk.nabble.com> <26912224.post@talk.nabble.com> <26912228.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

