Re: sshd crahes; ssh instal fails
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/
Re: sshd crahes; ssh instal fails
[EMAIL PROTECTED] 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/
Re: sshd crahes; ssh instal fails
On Sat, Dec 03, 2005 at 12:46:34PM -0500, H.S. wrote: >kumarchi wrote: >>I just installed Cygwin on two Windows XP machines in the last four >>days and got sshd and rsync daemon working. To get an idea of how to >>solve your problem you must describe what you did: 1. How did you >>install sshd? 2. What options did you give to ssh-host-config? 3. >>What error messages do you get when you try to start the service? > >What is value of CYGWIN environment variable that you set during >ssh-host-config? And what is in your /cygwin.bat file? How about if we use the problem reporting guidelines laid out at: http://cygwin.com/problems.html ? In particular, please send the output of cygcheck *as an attachment* here. cgf -- 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/
Re: sshd crahes; ssh instal fails
[EMAIL PROTECTED] wrote: > I just installed Cygwin on two Windows XP machines in the last four days > and got sshd and rsync daemon working. To get an idea of how to solve > your problem you must describe what you did: > 1. How did you install sshd? > 2. What options did you give to ssh-host-config? > 3. What error messages do you get when you try to start the service? > What is value of CYGWIN environment variable that you set during ssh-host-config? And what is in your /cygwin.bat file? ->HS -- 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/
Re: sshd crahes; ssh instal fails
I installed it using the script ssh-host-config the script did not return any error messages The crash occurs after I try to start the service. I have installed ssh in my other window madhines using the same script with no problem . the only diffference is older versions of cygwin [EMAIL PROTECTED] wrote: > hello: > > I just downloaded latest version of cygwin. I tried to install ssh using the > install scripts. however sshd does not startup and it hangs. > > anybody else noticed this problem? > > thanx > I just installed Cygwin on two Windows XP machines in the last four days and got sshd and rsync daemon working. To get an idea of how to solve your problem you must describe what you did: 1. How did you install sshd? 2. What options did you give to ssh-host-config? 3. What error messages do you get when you try to start the service? -- 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/
Re: sshd crahes; ssh instal fails
[EMAIL PROTECTED] wrote: > hello: > > I just downloaded latest version of cygwin. I tried to install ssh using the > install scripts. however sshd does not startup and it hangs. > > anybody else noticed this problem? > > thanx > I just installed Cygwin on two Windows XP machines in the last four days and got sshd and rsync daemon working. To get an idea of how to solve your problem you must describe what you did: 1. How did you install sshd? 2. What options did you give to ssh-host-config? 3. What error messages do you get when you try to start the service? ->HS -- 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/
sshd crahes; ssh instal fails
hello: I just downloaded latest version of cygwin. I tried to install ssh using the install scripts. however sshd does not startup and it hangs. anybody else noticed this problem? thanx -- 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/