X-Spam-Check-By: sourceware.org Message-ID: <43943450.EB169EC5@dessent.net> Date: Mon, 05 Dec 2005 04:36:32 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sshd crahes; ssh instal fails References: <120520051127 DOT 1039 DOT 4394241000070F510000040F220702293307080C9D0E039A05 AT comcast DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 kumarchi AT comcast DOT net wrote: > I installed sshd using sshd-host-config. I did no give any options to the script. > when it ran it asked about a creating an unprivileged sshd. I tried both the options creating unprivileged sshd and without creating one. Nothing in your cygcheck output seems out of the oridinary. Normally the reason for the malfunction is listed in the Event Log, which you need to check. There is a chance there is also information in /var/log/sshd.log but this will only be the case if cygrunsrv itself encounters an error (rather than sshd.) In my experience almost all cases of sshd not starting are due to wrong or incorrect permissions on some files. ssh-host-config ought to take care of this for you. It could also be a software firewall that isn't allowing the process to bind to port 22. If you cannot figure out from the above what the problem is, I suggest you remove all traces of the sshd service and re-run ssh-host-config. To do this: $ cygrunsrv --remove sshd $ rm -rf /etc/{ssh_host_*,sshd_config} /var/{empty,run/sshd*,log/sshd*} $ ssh-host-config If you get any permission denied errors at the rm step you'll need to chown the files before deleting them. Brian -- 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/