delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/07/22:09:24

X-Spam-Check-By: sourceware.org
Message-ID: <43C0825A.4C5D6A44@dessent.net>
Date: Sat, 07 Jan 2006 19:09:14 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Start sshd server on reinstallation
References: <20060108025544 DOT 93896 DOT qmail AT web26109 DOT mail DOT ukl DOT yahoo DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k0839MQx025812

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019