我無法讓openssh服務器在Windows Server 2008上工作。我讓它在兩臺其他服務器上工作,但其中一臺服務器無法正常工作。Cygwin Openssh無法看到/ etc/sshd_config
我運行ssh-host-config
,並選擇特權分離。創建兩個用戶sshd
和sshd_server
。
然後我跑net start sshd
,我看到:
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started.
The service did not report an error.
然後我跑cat /var/log/sshd.log
,我看到這樣的輸出:
/etc/sshd_config: No such file or directory
我再檢查/etc/sshd_config
權限:
-rw-r--r-- 1 sshd_server root 3344 Sep 7 09:15 /etc/sshd_config
所以現在看來sshd看不到一個文件在那裏,擁有正確的權限。即使在Windows上,該文件歸sshd_server
所有。
我有同樣的問題。它在Windows 8上運行了幾個星期,但現在在重新啓動之後,它不再適用於此處所述的相同問題。 – tomsv