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
  •  


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox picture

Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox

$620.00



Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700 picture

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700

$289.99



Dell Poweredge R620 10x 2.5

Dell Poweredge R620 10x 2.5" bay with 256GB (16x16gb) DDR3, 2x E5-2690v2, H710

$349.99



Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM) picture

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)

$299.95