Results 1 to 5 of 5
I recently bought a new computer, so I turned my old one into a Linux box, for the time being. I installed the newest version of OpenSSH on it a ...
- 06-11-2005 #1Just Joined!
- Join Date
- Jun 2005
- Posts
- 2
sshd won't start in slackware
I recently bought a new computer, so I turned my old one into a Linux box, for the time being. I installed the newest version of OpenSSH on it a few days ago so I could run sshd on it, but I can't get the daemon to start. I typed "/etc/rc.d/rc.sshd start" and it didn't display any message so I assumed it worked. When I ran "ssh 127.0.0.1" it said "connection refused," so I nmapped myself and apparently port 22 is closed. I tried killing all sshd processes completely by doing "killall -HUP sshd" and it said "no processes killed." It says the same thing ("no processes killed") when I do "/etc/rc.d/rc.sshd restart." Why isn't the daemon even starting?
- 06-11-2005 #2Code:
/sbin/service sshd start
- 06-11-2005 #3Just Joined!
- Join Date
- May 2005
- Location
- NJ, USA
- Posts
- 17
Dude, this does not work in Slackware...
Originally Posted by eugrus
try just running the sshd command to see if you get any msgs then...
Then post them on here...Code:#/usr/sbin/sshd
- 06-12-2005 #4Just Joined!
- Join Date
- Jun 2005
- Posts
- 2
No messages when I try that either, but it still doesn't start. Running it as root gives me:
Needless to say, it doesn't start after it says all that stuff.Code:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for '/etc/ssh/ssh_host_key' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_key @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for '/etc/ssh/ssh_host_rsa_key' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_rsa_key @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for '/etc/ssh/ssh_host_dsa_key' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /etc/ssh/ssh_host_dsa_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.
I dunno if this helps or not, but sshd worked just a few days ago. I started it usingand it ran flawlessly. I had to turn the computer off yesterday and after I turned it back on, sshd stopped working.Code:/etc/rc.d/rc.sshd start
- 06-12-2005 #5Just Joined!
- Join Date
- May 2005
- Location
- NJ, USA
- Posts
- 17
Have you tried actually changing the permission on these 3 files to RW for root?
Code:#chmod 600 [file_name]


Reply With Quote
