-
Senior Member
registered user
SSH Error Messages
Recently when I start Knoppix I get a series of ssh related error messages:
WARNING UNPROTECTED KEY FILE!
Permissions 0644 for
/etc/ssh/ssh_host_key
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_rsa_key
are too open.
Could not load host key.
sshd: No host keys available. Exiting.
Knoppix continues to boot and run. But these error messages persist.
Basically, how do I fix this?
sakiZ
-
chmod go-r /etc/ssh/ssh_host_key /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_rsa_key
IIRC the /etc/ssh/ssh_host_key is for protocol 1 which isn't as secure as 2. You can disable it in sshd_config having just these:
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
-
Senior Member
registered user
Thanks!
Thanks,
Worked perfectly. No more error messages.
I also I commented out the ssh_host_key.
sakiZ
Similar Threads
-
By Dai777 in forum General Support
Replies: 7
Last Post: 10-31-2008, 01:12 PM
-
By sloanezilla in forum Hardware & Booting
Replies: 1
Last Post: 02-22-2008, 09:41 PM
-
By babelbrennt in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 06-21-2005, 11:00 PM
-
By Xeogears13 in forum General Support
Replies: 0
Last Post: 11-03-2003, 02:27 AM
-
By rdorsch in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 08-14-2003, 04:49 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

HP ProLiant MicroServer Gen8 Xeon E3-1265L v2 16GB ECC RAM 4-Bay NAS, NO Drives
$300.00

Supermicro 505-2 Server
$280.00

Dual Xeon E5-2698 Server-Supermicro X10DRL-i - Noctua SilverStone RM41-506
$449.99

HPE ProLiant MicroServer Gen10 Plus Xeon E-2224 3.4GHz 16GB RAM 2TB HDD NO OS
$949.99

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99

HPE ProLiant MicroServer Gen 10 - Opteron x3421 - 16GB DDR4 - 120GB SATA SSD
$350.00

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Supermicro 721-2 Mini Tower Black Computer Server NO Hdd
$375.00

Super Micro 113M-3 Server Intel Xeon 5Tb HDD used great condition
$70.00