SSH Setup Issue

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Jan 16 16:20:00 GMT 2009


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/



More information about the Cygwin mailing list