• sshd complains about not loading /etc/ssh/ssh_host_key

    From William Unruh@21:1/5 to All on Fri May 24 15:29:32 2019
    sshd keeps complaining

    May 24 08:19:03 info sshd[25391]: error: Could not load host key: /etc/ssh/ssh_host_key

    In /etc/ssh/sshd_config I have

    HostKey /etc/ssh/ssh_host_rsa_key
    HostKey /etc/ssh/ssh_host_ecdsa_key
    HostKey /etc/ssh/ssh_host_ed25519_key

    and no entry for /etc/ssh/ssh_host_key.
    So, why is it hunting for /etc/ssh/ssh_host_key?
    And how can I get rid of this error?

    openssh-8.0p1

    Mageia 7

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jacob Nevins@21:1/5 to William Unruh on Sun May 26 17:39:45 2019
    William Unruh <unruh@invalid.ca> writes:
    May 24 08:19:03 info sshd[25391]: error: Could not load host key: >/etc/ssh/ssh_host_key
    [...]
    openssh-8.0p1

    Mageia 7

    Isn't ssh_host_key the conventional name for the host key for the
    (obsolete, insecure) SSH protocol version 1?

    Stock OpenSSH 8.0 doesn't include SSH-1 support (server support was
    removed in 7.4p1). I don't know whether Mageia has some kind of separate packaging of the SSH-1 server, perhaps with its own config files, a bit
    like Debian's (client-only) openssh-ssh1? Or is that pid 25391
    definitely your OpenSSH 8.0 server?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Jacob Nevins on Mon May 27 03:33:05 2019
    On 2019-05-26, Jacob Nevins <jacobn@chiark.greenend.org.uk> wrote:
    William Unruh <unruh@invalid.ca> writes:
    May 24 08:19:03 info sshd[25391]: error: Could not load host key: >>/etc/ssh/ssh_host_key
    [...]
    openssh-8.0p1

    Mageia 7

    Isn't ssh_host_key the conventional name for the host key for the
    (obsolete, insecure) SSH protocol version 1?

    Stock OpenSSH 8.0 doesn't include SSH-1 support (server support was
    removed in 7.4p1). I don't know whether Mageia has some kind of separate packaging of the SSH-1 server, perhaps with its own config files, a bit
    like Debian's (client-only) openssh-ssh1? Or is that pid 25391
    definitely your OpenSSH 8.0 server?

    The only ssh I have installed is openssh-8.0p1-2wgu.mga7
    (the 2wgu was for me adding an extra logging for unsuccessful ssh
    attempts)
    So, yes, that is the ssh 8 sshd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)