OpenSSH filling up auth.log due to missing ed25519 host key file
Bug #1484693 reported by
Rene Soto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alex Schultz | ||
6.1.x |
Fix Released
|
High
|
Alexey Khivin | ||
7.0.x |
Fix Released
|
High
|
Alex Schultz |
Bug Description
In a 6.1 Fuel environment based on Ubuntu, it appears that OpenSSH logs the following message every time an SSH connection is attempted on a controller:
Could not load host key: /etc/ssh/
While SSH connections are successful, this message is silently logged to /var/log/auth.log due to the ed25519 host key file missing in /etc/ssh. In larger environments, it has even generated 100,000+ message in a one-hour timeframe.
This issue is resolved by running "ssh-keygen -A" which generates the host keys that do not exist, however, this is something that has to be done manually at this time.
tags: | added: support |
To post a comment you must log in.
Confirmed this error message happens when you ssh to an ubuntu machine.
<35>Aug 13 21:37:52 node-1 sshd[10269]: error: Could not load host key: /etc/ssh/ ssh_host_ ed25519_ key
So if there is a constant stream of ssh port checks (ie from monitoring), this may fill logs.