X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,DNS_FROM_OPENWHOIS,J_CHICKENPOX_66,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Message-ID: <21502741.post@talk.nabble.com> Date: Fri, 16 Jan 2009 08:11:19 -0800 (PST) From: Syphon To: cygwin AT cygwin DOT com Subject: Re: SSH Setup Issue In-Reply-To: <4970A676.2060900@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <21491713 DOT post AT talk DOT nabble DOT com> <4970A676 DOT 2060900 AT cygwin DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT Kris-PC /var $ chown SYSTEM empty Kris AT 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/