Do I need to be concerned? Failed to parse keypair in /var/lib/openhab2/etc/host.key

OH 2.3.0

I observed this warning today (seen for the first time since running v2):

2018-12-29 09:04:08.144 [WARN ] [.keygenerator.OpenSSHKeyPairProvider] - Failed to parse keypair in /var/lib/openhab2/etc/host.key. Attempting to parse it as a legacy 'simple' key
2

No idea what it means, or what I should do to get rid of it.

Not sure but it says you host’s SSH key (see filename) can’t be read. Maybe it’s too old and uses an outdated format ?
See https://www.sslshopper.com/article-most-common-openssl-commands.html how to check,convert etc.

1 Like

Thanks. The message never came back, and it is a ten day old fresh machine (OS, hardware).

I had this same message, and it was stopping me logging into the OpenHAB console.

Deleting hosts.key solved the problem.