This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd not doing key based authentication


On 4/10/2012 10:02 AM, Thorsten Kampe wrote:
* Rurik Christiansen (Tue, 10 Apr 2012 11:23:04 +1000)
On 6/04/2012 08:44, Andrey Repin wrote:
Greetings, Rurik Christiansen!

[...]


and my understanding is that I can't run the sshd frontend without
screwing the permissions.
I don't understand what you mean by this.

From an earlier mail on this list:


http://cygwin.com/ml/cygwin/2008-11/msg00212.html

I cite:

"Ugh!  This suggests that you have not read OpenSSH readme in
/usr/share/doc/Cygwin.  You can't do this without screwing up all
the permissions on various directories and files that SSH checks
the permissions of."

Nonsense. sshd doesn't change or "screw up" any permissions. I've been running sshd as user or sshd via xinetd run as user for the last seven years on my workstation and never had no problem. Of course I can only login as myself but that's expected.

And that's exactly the point of the referenced thread. If you know how to do what you've done and what the limitations are, then you can make things work within these limitations. For those that don't know all these little details and limitations and just want to get sshd running in a general, non-restrictive way, using the provided configure scripts is the way to go and the Cygwin readme for OpenSSH is the right place to look for details about these scripts and how to run them. And more importantly, unless you use these resources, it's assumed you know what you're doing and that you don't need this list's help if you run into problems. Just to button up this thread for whoever may be reading it in the future, if the previous statement doesn't describe you, don't try to initially hand configure your OpenSSH installation and don't run sshd from the command line unless you know what you are doing.

--
Larry

_____________________________________________________________________

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]