LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cygwin ssh setup permissions error (https://www.linuxquestions.org/questions/linux-software-2/cygwin-ssh-setup-permissions-error-702852/)

aloishis89 02-06-2009 07:09 PM

cygwin ssh setup permissions error
 
I am trying to run ssh-host-config on cygwin on my windows machine to set up an ssh server. Here is a complete transcript:

http://www.prism.gatech.edu/~hscott7/projects/q1.jpg

http://www.prism.gatech.edu/~hscott7/projects/q2.jpg

How do I get my permissions back to how they need to be and how do I fix the original problem I was having?

AlucardZero 02-08-2009 08:38 AM

chmod +x /var

what does
Code:

ls -ld /var
then say?

aloishis89 02-08-2009 12:57 PM

it says:
Code:

dr-xr-xr-x+ 9 Hunter Users 0 Feb 6 19:54 /var
thanks for the reply.

AlucardZero 02-08-2009 02:54 PM

chmod u+w /var

then what does ssh-host-config say?

aloishis89 02-08-2009 05:41 PM

Here's the whole thing:

http://www.prism.gatech.edu/~hscott7/projects/q3.jpg

It looks like there are still some permissions problems. It made a new account called 'privileged server', and I also tried starting sshd from there, but got the same problem, and it didn't report an error.

AlucardZero 02-08-2009 07:33 PM

try chmod 644 /etc/passwd and /etc/group

aloishis89 02-08-2009 07:36 PM

no luck, got the same message with no error report.

aloishis89 02-11-2009 10:35 PM

Here's where I am:

http://www.prism.gatech.edu/~hscott7/projects/q4.jpg

I am thinking that this is one of the main causes of the problem. What do I type here?


All times are GMT -5. The time now is 08:54 AM.