This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
SSHD setup
Ok,
I have beat my head against this too much now.
What are the permissions for '/usr/local/etc/ssh_host_key'?
What about '/etc/ssh_host_dsa_key'?
If they are too open it says that this is bad, but when they are more
secure, then it can't load it because it is not allowed.
what chmod values do I need?
/source/NT_Admin >sshd -d
debug1: sshd version OpenSSH_2.3.0p1
debug1: Seeding random number generator
error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
error: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
error: Bad ownership or mode(0600) for '/usr/local/etc/ssh_host_key'.
error: It is recommended that your private key files are NOT accessible by
others.
error: Could not load host key: /usr/local/etc/ssh_host_key: error 0
Disabling protocol version 1
error: Could not load DSA host key: /etc/ssh_host_dsa_key
Disabling protocol version 2
sshd: no hostkeys available -- exiting.
sshd: no hostkeys available -- exiting.
Thanks,
Matt
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com