I want to use cygwin to install sshd in windows. But when I start the sshd service, it says:
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
And the sshd.log
says:
Permissions 0660 for '/etc/ssh_host_dsa_key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /etc/ssh_host_dsa_key
Could not load host key: /etc/ssh_host_dsa_key
So how to deal with it?
cat /var/log/sshd.log
returns blank, even myls
returns blank?), but I applied the two commands you stated and still cannot connect. Any idea? – Georgena