sshd fails to start: logon failure
marco atzeri
marco.atzeri@gmail.com
Thu Feb 14 20:53:00 GMT 2013
On 2/14/2013 9:43 PM, Ryan Johnson wrote:
> Hi all,
>
> I tried to ssh to my cygwin box today and was unable to connect. It
> seems the sshd service can no longer run, for reasons that mystify me:
>> # net start sshd
>> System error 1069 has occurred.
>>
>> The service did not start due to a logon failure.
>
> I wasn't aware of having changed anything; would it be advisable to just
> reinstall sshd from setup.exe and/or sshd_host_config, or is there some
> simple troubleshooting I might do?
reinstall is not the way.
Likely something reset the cyg_server privileges.
Try to re-enable them with
editrights -u cyg_server -a SeAssignPrimaryTokenPrivilege
editrights -u cyg_server -a SeCreateTokenPrivilege
editrights -u cyg_server -a SeTcbPrivilege
editrights -u cyg_server -a SeServiceLogonRight
editrights -u cyg_server -a SeIncreaseQuotaPrivilege
>
> In case it helps, the sshd user in /etc/passwd is:
>> sshd:unused:1003:513:sshd
>> privsep,U-ryan-cms-utsc\sshd,S-1-5-21-2165564742-446954615-706276285-1003:/var/empty:/bin/bash
>>
>
> Thanks!
> Ryan
>
Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list