Hi,
I was trying to start sshd with cygwin under windows.
I am getting the following error but the specified files exist in the
/etc dir. What else could be a problem here? Thanks a lot for your
input!
Could not load host key: /etc/ssh_host_key
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
Zbigniew
Very often this is caused by a permissions problem -- sshd won't use
private keys if group or other have read write or execute access to
them. Applies to both user and host keys. You may need to restart the
sshd service after you've fixed the permissions, which you can do by
typing:
net stop sshd
net start sshd
HTH
Jay
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/