Bug 16645 - mga6: sshd error: Could not load host key: /etc/ssh/ssh_host_key
Summary: mga6: sshd error: Could not load host key: /etc/ssh/ssh_host_key
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 02:45 CEST by Bit Twister
Modified: 2016-01-18 22:05 CET (History)
1 user (show)

See Also:
Source RPM: openssh-7.0p1-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Bit Twister 2015-08-25 02:45:29 CEST
Description of problem:

journalctl -u sshd  snippet
Aug 24 18:37:24 vb.home.test systemd[1]: Started OpenSSH server daemon.
Aug 24 18:37:25 vb.home.test sshd[10815]: key_load_public: invalid format
Aug 24 18:37:25 vb.home.test sshd[10815]: Could not load host key: /etc/ssh/ssh_host_key


Version-Release number of selected component (if applicable):


How reproducible: always


Steps to Reproduce:
1. install all updates
2. journalctl -u sshd 



Reproducible: 

Steps to Reproduce:
Comment 1 Thomas Backlund 2015-08-25 19:33:19 CEST
Are you re-using some old host-key ?

OpenSSH 7 disables legaycy unsecure keys and ciphers

CC: (none) => tmb

Comment 2 Bit Twister 2015-08-26 02:28:31 CEST
(In reply to Thomas Backlund from comment #1)
> Are you re-using some old host-key ?

If so, it came from Mageia

> OpenSSH 7 disables legaycy unsecure keys and ciphers

While it is on your mind, might I suggest adding WHAT
     sshd legacy unsecured keys and ciphers are disabled
to https://wiki.mageia.org/en/Mageia_6_Errata

As I misunderstand the above error, the problem is in /etc/ssh/ssh_host_key

All I did was create the VirtualBox Guest using Mageia-5-x86_64-DVD.iso,
apply all mga5 updates, change /5/ to /cauldron/ in /etc/urpmi/urpmi.cfg,
use drakrpm-edit-media --expert to enable all media for update, and installed  ~2046 package updates that would update.

FYI. seems like my yesterday big update has made my VB Guest unusable which means I am through testing mga6 until i can get my hands on a mga6 Alpha iso.
Comment 3 Bit Twister 2016-01-18 22:05:22 CET
 Problem no longer exists

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.