X-Spam-Check-By: sourceware.org From: kumarchi AT comcast DOT net To: cygwin AT cygwin DOT com Subject: Re: sshd crahes; ssh instal fails Date: Wed, 07 Dec 2005 22:34:07 +0000 Message-Id: <120720052234.1186.4397635F000680A7000004A2220588448407080C9D0E039A05@comcast.net> 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 I cleaned and reinstalled and everything works fine now. thanx my original problem might have been due to windows firewall. thanx > 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. -- 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/