Re: cannot start sshd on cygwin- win xp
Larry Hall (Cygwin) wrote: [EMAIL PROTECTED] wrote: a selection of all the error message I am getting. Messing around trying to start it. it doesn`t show up on netstat -an. I did install and uninstall a windows port of openssh, I don`T know if that messed things up. But nothing i easily do about that if it did.. Let's start here: http://cygwin.com/problems.html Other than that, my WAG is that you need to reboot. prob a win xp problem, would be solved with a win xp repair. my mistake i was only trying to start it with things like net start sshd. Best tihng to do is just to run it. /usr/sbin/sshd That works. I don`t need to install it as a service. Installing it as a service and starting it, that was where the problem was. Some article on the net on the LRP site, about running sshd, only mentioned the net start sshd or cygrunsrv -S sshd method to start it. -- -- 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: cannot start sshd on cygwin- win xp
[EMAIL PROTECTED] wrote: Larry Hall (Cygwin) wrote: [EMAIL PROTECTED] wrote: a selection of all the error message I am getting. Messing around trying to start it. it doesn`t show up on netstat -an. I did install and uninstall a windows port of openssh, I don`T know if that messed things up. But nothing i easily do about that if it did.. Let's start here: http://cygwin.com/problems.html Other than that, my WAG is that you need to reboot. prob a win xp problem, would be solved with a win xp repair. my mistake i was only trying to start it with things like net start sshd. Best tihng to do is just to run it. /usr/sbin/sshd That works. I don`t need to install it as a service. Installing it as a service and starting it, that was where the problem was. Some article on the net on the LRP site, about running sshd, only mentioned the net start sshd or cygrunsrv -S sshd method to start it. The recommended way to run 'sshd' is as a service. If you run it directly, it will run as the user that you start it as and you won't be able to log in through 'ssh' as other users. This rather severely limits 'sshd'. As for the 'LRP' site you mentioned, if you used that site's information as a guide for installing and/or setting up ssh, then any problems you have with subsequent operation should be directed back to that site. We support only the tools (ssh-host-config, ssh-user-config) and documentation (/usr/share/ doc/Cygwin/openssh.README) that Cygwin provides. -- 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/
Re: cannot start sshd on cygwin- win xp
Larry Hall (Cygwin) wrote: [EMAIL PROTECTED] wrote: Larry Hall (Cygwin) wrote: [EMAIL PROTECTED] wrote: a selection of all the error message I am getting. Messing around trying to start it. it doesn`t show up on netstat -an. I did install and uninstall a windows port of openssh, I don`T know if that messed things up. But nothing i easily do about that if it did.. Let's start here: http://cygwin.com/problems.html Other than that, my WAG is that you need to reboot. prob a win xp problem, would be solved with a win xp repair. my mistake i was only trying to start it with things like net start sshd. Best tihng to do is just to run it. /usr/sbin/sshd That works. I don`t need to install it as a service. Installing it as a service and starting it, that was where the problem was. Some article on the net on the LRP site, about running sshd, only mentioned the net start sshd or cygrunsrv -S sshd method to start it. The recommended way to run 'sshd' is as a service. If you run it directly, it will run as the user that you start it as and you won't be able to log in through 'ssh' as other users. This rather severely limits 'sshd'. As for the 'LRP' site you mentioned, if you used that site's information as a guide for installing and/or setting up ssh, then any problems you have with subsequent operation should be directed back to that site. We support only the tools (ssh-host-config, ssh-user-config) and documentation (/usr/share/ doc/Cygwin/openssh.README) that Cygwin provides. yes, i was not asking for support regarding information from another site. I replied with solutions or you may say a workaround, to the problem . So that they are in the archives for another newbie. -- 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: cannot start sshd on cygwin- win xp
jameshanley39 wrote: Larry Hall (Cygwin) wrote: jameshanley39 wrote: Larry Hall (Cygwin) wrote: jameshanley39 wrote: a selection of all the error message I am getting. Messing around trying to start it. it doesn`t show up on netstat -an. I did install and uninstall a windows port of openssh, I don`T know if that messed things up. But nothing i easily do about that if it did.. Let's start here: http://cygwin.com/problems.html Other than that, my WAG is that you need to reboot. prob a win xp problem, would be solved with a win xp repair. my mistake i was only trying to start it with things like net start sshd. Best tihng to do is just to run it. /usr/sbin/sshd That works. I don`t need to install it as a service. Installing it as a service and starting it, that was where the problem was. Some article on the net on the LRP site, about running sshd, only mentioned the net start sshd or cygrunsrv -S sshd method to start it. The recommended way to run 'sshd' is as a service. If you run it directly, it will run as the user that you start it as and you won't be able to log in through 'ssh' as other users. This rather severely limits 'sshd'. As for the 'LRP' site you mentioned, if you used that site's information as a guide for installing and/or setting up ssh, then any problems you have with subsequent operation should be directed back to that site. We support only the tools (ssh-host-config, ssh-user-config) and documentation (/usr/share/ doc/Cygwin/openssh.README) that Cygwin provides. yes, i was not asking for support regarding information from another site. I replied with solutions or you may say a workaround, to the problem . So that they are in the archives for another newbie. I understand the reason for your posting. Mine was to warn people of the pitfalls of your workaround and to correct the misperceptions you had. If what you have works well for you and you're comfortable with it, that's fine. If others try it and find it suits their needs as well, that's fine too. But as I and many others on this list can attest, configuring and running 'sshd' as a service works just fine under Cygwin. So I wanted to clarify that this is the recommended, supported, and most flexible way to use it. -- 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/
cannot start sshd on cygwin- win xp
a selection of all the error message I am getting. Messing around trying to start it. it doesn`t show up on netstat -an. I did install and uninstall a windows port of openssh, I don`T know if that messed things up. But nothing i easily do about that if it did.. $ cygrunsrv -I sshd -p /usr/sbin/sshd cygrunsrv: Error installing a service: OpenService: Win32 error 1073: The specified service already exists. $ net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service was started successfully. Current [EMAIL PROTECTED] ~ $ net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service was started successfully. It doesn`t show in netstat. maybe it isn`T menat to ? $ cygrunsrv --start sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. .. $ 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. Current [EMAIL PROTECTED] /usr/sbin $ net stop sshd The CYGWIN sshd service is not started. More help is available by typing NET HELPMSG 3521. Current [EMAIL PROTECTED] /usr/sbin $ net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service was started successfully. Current [EMAIL PROTECTED] /usr/sbin $ net stop sshd The CYGWIN sshd service is not started. More help is available by typing NET HELPMSG 3521. ... Current [EMAIL PROTECTED] / $ cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. . Current [EMAIL PROTECTED] / $ cygrunsrv -S /usr/sbin/sshd cygrunsrv: Error starting a service: OpenService: Win32 error 123: The filename, directory name, or volume label syntax is incorrect. Current [EMAIL PROTECTED] / $ cygrunsrv -S sshd Current [EMAIL PROTECTED] / $ ls /usr/sbin/sshd /usr/sbin/sshd -- -- 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: cannot start sshd on cygwin- win xp
[EMAIL PROTECTED] wrote: a selection of all the error message I am getting. Messing around trying to start it. it doesn`t show up on netstat -an. I did install and uninstall a windows port of openssh, I don`T know if that messed things up. But nothing i easily do about that if it did.. Let's start here: http://cygwin.com/problems.html Other than that, my WAG is that you need to reboot. -- 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/