Ordinary Olson wrote: > I recently installed cygwin to my C drive however > after realizing its size, I decided to move it to the > D drive. So I stopped the sshd server that I had > running, deleted the registry keys under > `HKEY_LOCAL_MACHINE' and `HKEY_CURRENT_USER and then > just deleted the C:\cygwin directory. > > > I then reinstalled cygwin in the D drive, edited my > start menu to point to them. However I have problems > starting the sshd server. I have already > ssh-host-config and ssh-user-config completed.
The reason that your sshd service will not start is because you did not remove the service, and the one currently installed still points to the old location. ssh-host-config will not overwrite an existing service, so you need to remove the service and re-run the script. Please consider in the future using the procedure outlined at <http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all> to uninstall Cygwin. The first step listed there would have solved your problem, and there is no need to go editing the registry when "umount -A" exists. 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/