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
  •  


Corsair Vengeance LPX 128GB (4x32GB) DDR4-3600 288-Pin DIMM CMK128GX4M4D3600C18 picture

Corsair Vengeance LPX 128GB (4x32GB) DDR4-3600 288-Pin DIMM CMK128GX4M4D3600C18

$550.00



Corsair Vengeance DDR5 32GB (2x16GB) 6000MHz Desktop RAM Kit – New Sealed picture

Corsair Vengeance DDR5 32GB (2x16GB) 6000MHz Desktop RAM Kit – New Sealed

$349.95



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Raspberry Pi 3 Model B+ 1GB RAM WiFi Bluetooth Quad-Core SBC w Power Supply picture

Raspberry Pi 3 Model B+ 1GB RAM WiFi Bluetooth Quad-Core SBC w Power Supply

$19.99



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00



MTA8ATF1G64AZ-2G6J1 16GB 2x8GB Desktop RAM Micron 1Rx8 PC4-2666V-UA2-11 DDR4 picture

MTA8ATF1G64AZ-2G6J1 16GB 2x8GB Desktop RAM Micron 1Rx8 PC4-2666V-UA2-11 DDR4

$45.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory picture

Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory

$2999.99



Lot Of 50 8GB DDR4 RAM PC4-2666V-UA2 DIMM Desktop Memory Mixed Brands TESTED picture

Lot Of 50 8GB DDR4 RAM PC4-2666V-UA2 DIMM Desktop Memory Mixed Brands TESTED

$1750.00