This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Start sshd server on reinstallation


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]