On Sun, 8 Jan 2006, Ordinary Olson wrote: > --- Brian Dessent <[EMAIL PROTECTED]> ha scritto:
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. > > 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. > > Thanks to Brian and Yitzchak. I did not know I am supposed to remove the > service. I just stopped it, and I tried to find how to uninstall it. In > the end I totally forgot about this aspect. Cygwin services store the Win32 paths to the executables -- thus, moving Cygwin to another drive requires a reinstall of each service. > I did not know about cygrunsrv -U sshd Neither did we. It's a typo. > The FAQ Brian suggested at > http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all listed > cygrunsrv -R which I unsuccessfully tried. In what way was it unsuccessful? FWIW, something like the below should work to remove all services: cygrunsrv -L | xargs -rn1 cygrunsrv -E cygrunsrv -L | xargs -rn1 cygrunsrv -R > To someone facing this problem I deleted the registry entry at > HKEY_LOCAL_MACHINE\System\ControlSetxxx\Services\sshd+ It's not a good idea (at all) to mess with the registry if equivalent Cygwin tools exist. > Then I ran the ssh-host-config and started the server by net start sshd. > Luckly everything works now. Good. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/