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