Results 1 to 3 of 3

Thread: SSH Error Messages

  1. #1
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    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

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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

  3. #3
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    Thanks!

    Thanks,

    Worked perfectly. No more error messages.

    I also I commented out the ssh_host_key.

    sakiZ

Similar Threads

  1. error messages
    By Dai777 in forum General Support
    Replies: 7
    Last Post: 10-31-2008, 01:12 PM
  2. Error Messages
    By sloanezilla in forum Hardware & Booting
    Replies: 1
    Last Post: 02-22-2008, 09:41 PM
  3. Error messages with HD-install
    By babelbrennt in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 06-21-2005, 11:00 PM
  4. 2 error messages
    By Xeogears13 in forum General Support
    Replies: 0
    Last Post: 11-03-2003, 02:27 AM
  5. Printing Error messages
    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
  •  


1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



VPS Windows / Linux Server - 12GB  RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year picture

VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year

$279.87



1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM picture

1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM

$399.00



Vintage 1990s Linux Harvest Tower PC Server - Parts & Repair UNTESTED picture

Vintage 1990s Linux Harvest Tower PC Server - Parts & Repair UNTESTED

$149.00



Dell PowerEdge R210 II Rackmount Server Xeon E31220L 16Gb 1TB + 500GB LINUX 6.6 picture

Dell PowerEdge R210 II Rackmount Server Xeon E31220L 16Gb 1TB + 500GB LINUX 6.6

$129.00



Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet picture

Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet

$24.99



Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet picture

Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet

$21.99



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$152.99



Australia - Win/Linux Server- 2GB RAM, 1 Core,100 GB HD, Ultd Bandwidth 2 yrs picture

Australia - Win/Linux Server- 2GB RAM, 1 Core,100 GB HD, Ultd Bandwidth 2 yrs

$199.91