Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/string/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
cygwin sshd服务未启动_Cygwin_Sshd - Fatal编程技术网

cygwin sshd服务未启动

cygwin sshd服务未启动,cygwin,sshd,Cygwin,Sshd,我使用服务帐户安装cygwin和sshd服务。在更改服务帐户密码之前,它工作正常。现在,sshd服务不提供了 $ net start sshd System error 1069 has occurred. The service did not start due to a logon failure. 有人可以帮助并分享修复的步骤。可能需要重置所需的权限。 为此,我使用以下脚本: $ cat bin/enable-cyg-server.sh #!/bin/bash # see # /

我使用服务帐户安装cygwin和sshd服务。在更改服务帐户密码之前,它工作正常。现在,sshd服务不提供了

$ net start sshd
System error 1069 has occurred.

The service did not start due to a logon failure.

有人可以帮助并分享修复的步骤。

可能需要重置所需的权限。 为此,我使用以下脚本:

$ cat bin/enable-cyg-server.sh
#!/bin/bash

#  see
# /usr/share/csih/cygwin-service-installation-helper.sh
#
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

editrights -u sshd -a SeAssignPrimaryTokenPrivilege
editrights -u sshd -a SeCreateTokenPrivilege
editrights -u sshd -a SeTcbPrivilege
editrights -u sshd -a SeServiceLogonRight
editrights -u sshd -a SeIncreaseQuotaPrivilege

我运行了以上命令,但它仍然抛出相同的错误@马特泽里