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: SSH Setup Issue


Had the issue before I did all of the above, I know all this is already
performed by ssh-host-config, So does this mean ssh-host-config is not
working properly ? 

Took a look at '/var/log/sshd.log'.

'/var/empty must be owned by root and not group or world-writable.'

So, 'chown SYSTEM empty'

Kris@Kris-PC /var
$ chown SYSTEM empty

Kris@Kris-PC /var

$ net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started.

The service did not report an error.

Larry Hall (Cygwin) wrote:
> 
> Syphon wrote:
>> I cant seem to get sshd service to start on my Windows Vista box.
>> I tried a few different things, I turned off UAC, I ran bash as Admin.
>> Also, 'chown system:system /var/empty /etc/ssh_*' , 'chmod 755 /etc'.       
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Why did you do that?  'ssh-host-config' will handle all this for you and
> do it correctly.  What you have above won't work for Vista.
> 
>> Still when I run 'ssh-host-config', I seem to be missing a few prompts
>> 
>> $ ssh-host-config
>> Overwrite existing /etc/ssh_config file? (yes/no) yes
>> Generating /etc/ssh_config file
>> Overwrite existing /etc/sshd_config file? (yes/no) yes
>> Privilege separation is set to yes by default since OpenSSH 3.3.
>> However, this requires a non-privileged account called 'sshd'.
>> For more info on privilege separation read /usr/share/doc/openssh/README.
>> .
>> Should privilege separation be used? (yes/no) yes
>> Generating /etc/sshd_config file
>> 
>> Host configuration finished. Have fun!
>> 
>> And 'net start sshd'
>> 
>> $ net start sshd
>> The CYGWIN sshd service is starting.
>> The CYGWIN sshd service could not be started.
>> 
>> The service did not report an error.
>> 
>> More help is available by typing NET HELPMSG 3534.
>> 
>> Any suggestions ? I attached my cygcheck output.
> 
> Other than the above, which I think is at least a large part of your
> problem, you can take a look at '/var/log/sshd.log'.
> 
> -- 
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (508) 893-9889 - FAX
> Holliston, MA 01746
> 
> _____________________________________________________________________
> 
> A: Yes.
>  > Q: Are you sure?
>  >> A: Because it reverses the logical flow of conversation.
>  >>> Q: Why is top posting annoying in email?
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/SSH-Setup-Issue-tp21491713p21502741.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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