X-Spam-Check-By: sourceware.org
Date: Sat, 7 Jan 2006 19:19:32 -0800
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: Start sshd server on reinstallation
Message-ID: <20060108031932.GA2768@efn.org>
References: <20060108025544.93896.qmail@web26109.mail.ukl.yahoo.com> <43C0825A.4C5D6A44@dessent.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <43C0825A.4C5D6A44@dessent.net>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sat, Jan 07, 2006 at 07:09:14PM -0800, Brian Dessent wrote:
> 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.

Remove the service with cygrunsrv -U 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/

