This is the mail archive of the
mailing list for the Cygwin project.
Re: Start sshd server on reinstallation
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Ordinary Olson <olson_ord at yahoo dot it>
- Cc: cygwin at cygwin dot com
- Date: Sun, 8 Jan 2006 13:47:37 -0500 (EST)
- Subject: Re: Start sshd server on reinstallation
- References: <firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Sun, 8 Jan 2006, Ordinary Olson wrote:
> --- Brian Dessent <brian@XXXXXXX.XXX> ha scritto:
> > 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
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.
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
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