X-Spam-Check-By: sourceware.org Date: Sun, 8 Jan 2006 03:52:34 -0800 From: Yitzchak Scott-Thoennes To: cygwin AT cygwin DOT com Subject: Re: Start sshd server on reinstallation Message-ID: <20060108115234.GA6068@efn.org> References: <20060108025544 DOT 93896 DOT qmail AT web26109 DOT mail DOT ukl DOT yahoo DOT com> <43C0825A DOT 4C5D6A44 AT dessent DOT net> <20060108031932 DOT GA2768 AT efn DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060108031932.GA2768@efn.org> User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sat, Jan 07, 2006 at 07:19:32PM -0800, Yitzchak Scott-Thoennes wrote: > 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 Ack! I don't know where I got that; -U should be -R. -- 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/