LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2009, 08:09 PM   #1
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Rep: Reputation: 15
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?
 
Old 02-08-2009, 09:38 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
chmod +x /var

what does
Code:
ls -ld /var
then say?
 
Old 02-08-2009, 01:57 PM   #3
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
it says:
Code:
dr-xr-xr-x+ 9 Hunter Users 0 Feb 6 19:54 /var
thanks for the reply.
 
Old 02-08-2009, 03:54 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
chmod u+w /var

then what does ssh-host-config say?
 
Old 02-08-2009, 06:41 PM   #5
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
Old 02-08-2009, 08:33 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
try chmod 644 /etc/passwd and /etc/group
 
Old 02-08-2009, 08:36 PM   #7
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
no luck, got the same message with no error report.
 
Old 02-11-2009, 11:35 PM   #8
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copying via SSH using Cygwin linux_linux Linux - Software 2 03-15-2008 10:43 PM
Cygwin/X and ssh Problem kempy1000 Linux - Networking 9 02-13-2007 01:58 PM
SSH with Cygwin UltraSoul Linux - General 0 07-07-2005 01:44 PM
cygwin ssh problem belorion Linux - General 3 02-25-2004 07:11 PM
cygwin ssh and zonealarm Cass Linux - Newbie 1 01-24-2004 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration