Quote (jpeters @ Feb. 24 2008,21:40) |
If I try "etc/init.d/ssh start" I get the same message: Starting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/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. Nevertheless, it's working, and I can scp to/from other computers. Perms are root,root. |
Quote (spanners @ Feb. 25 2008,03:37) |
Yeah that's the same message I get but ssh actually exits. I'm running it as root. |
Quote (jpeters @ Feb. 25 2008,04:02) |
It doesn't matter that they exist. Does it start from /opt/bootlocal.sh ? I also copy the keys " cp /ssh_keys/*key* /etc/ssh/" , and then "/etc/init.d/ssh start" Also, did you try "sudo usr/sbin/sshstart" ? |
Quote (spanners @ Feb. 25 2008,13:22) |
I've tried running it from bootlocal.sh and manually as root and using 'sudo /usr/sbin/sshstart' but all fail. It seems like it can't find the keys if they're not set for user access but when it does find them then it says theyre too open. Either way without the keys it just exits. |
Quote (jpeters @ Feb. 26 2008,00:16) |
I'm shooting in the dark here, but would try booting up another version of DSL, vary bootcodes (e.g, dsl base norestore), check dmesg, etc., to find out where the conflict is. note: stay with root/root; no need to create more problems; it's likely that something is corrupted. EDIT: Try the dsl base norestore idea first; the keys should load (with "sudo /etc/init.d/ssh start") If not, maybe posting more specifics about your setup will get a response. |