Cygwin. How to delete and reset ssh so it can be setup clean again.
I've been trying to setup my network with ssh, but I can't seem to make it work on my Windows 7. It was working at first, but after I wanted to make changes I messed it all up. Now I can't can't get it to work, I get this error:
ssh-host-config .... Code:
/usr/bin/cygrunsrv: Error installing a service: CreateService: Win32 error 1057: How can I reinstall ssh and cygrunsrv so that it is clean and can be installed fresh.(delete config files, this is what I think is doing the damage, because it's the same error even after re-install) Please help. |
This looks like a problem with your Windows services. It is not allowing SSHD to install as a service for whatever reason. Without it being installed as a service (which runs at boot) to ensure you can SSH into the system at anytime, Cygwin will not work. I would check to maybe see if you have an infection or some type of virus/rootkit (Malwarebytes and TDSSKiller will take care of most everything). Also, look for Windows Service repair tools or something that will restore your services to default.
|
I had copied these instructions from a no-longer-existing web page, but a couple years back I uninstalled cygwin sshd completely from a w7pro machine: Use these steps at your own risk, by the way :)
Quote:
|
Quote:
|
All times are GMT -5. The time now is 08:02 AM. |