After awhile I tried to start OpenSSH service on my laptop and I ended up getting these errors each time I tried to start the service:
“Could not start the OpenSSH Server service on Local Computer. Error 1067: The process terminated unexpectedly.”
I added the details of the errors I experienced.
Solution: The main problem to this issue is having multiple cygwin1.dll on your computer and have one of them on the PATH variable.
1- In order to fix this issue, you first need to find out which folders/applications might have cygwin1.dll file under it.
2- Check the PATH variable via right click on My Computer -> Properties -> Advanced System Settings -> Environment Variables
Under this section, you will find two PATH variables. First one if for the user level (your login) and the second one is for System level (for all users on that machine). You should make sure both PATH variables do not include any folder that you found in the first step.
Error 1067: The process terminated unexpectedly
Faulting application name: cygrunsrv.exe, version: 0.0.0.0, time stamp: 0×40826252
Faulting module name: ntdll.dll, version: 6.1.7600.16559, time stamp: 0x4ba9b21e
Exception code: 0xc0000005
Fault offset: 0x00055c11
Faulting process id: 0xd10
Faulting application path: C:\Program Files\OpenSSH\bin\cygrunsrv.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Windows 7 Detailed message:
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
These files may be available here: