Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: SSH issues< Next Oldest | Next Newest >
spanners Offline





Group: Members
Posts: 9
Joined: Jan. 2006
Posted: Feb. 25 2008,08:37 QUOTE

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.

Yeah that's the same message I get but ssh actually exits. I'm running it as root.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Feb. 25 2008,09:02 QUOTE

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.

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"  ?
Back to top
Profile PM 
spanners Offline





Group: Members
Posts: 9
Joined: Jan. 2006
Posted: Feb. 25 2008,18:22 QUOTE

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"  ?

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.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Feb. 26 2008,05:16 QUOTE

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.

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.
Back to top
Profile PM 
spanners Offline





Group: Members
Posts: 9
Joined: Jan. 2006
Posted: Feb. 27 2008,15:12 QUOTE

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.

I'll do that bud, thanks all for your help so far, this has really got me stumped!
Back to top
Profile PM 
10 replies since Feb. 24 2008,18:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: SSH issues

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code