Unable to start cygwin sshd service

后端 未结 5 424
终归单人心
终归单人心 2021-02-01 16:55

I entered ssh-host-config into the cygwin prompt (started with admin privileges), said yes to privilege separation, new local account sshd, install sshd as a servic

5条回答
  •  情话喂你
    2021-02-01 17:48

    I followed the steps in this topic and the problem was still happening, then I checked the sshd log file and it was complaining that the privilegies of the ssh private key were to open.

    I executed the follow command:

    chmod 400 /etc/ssh_host_ecdsa_key
    

    Then I run the service:

    net start sshd
    

    It finally worked (BTW: I am using Windows 8)

提交回复
热议问题