My Oracle Support Banner

Fail to ssh into New Installed Oracle Linux 7 Host due to Zero Size SSH Host Keys Generated (Doc ID 2077145.1)

Last updated on MAY 07, 2020

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.


When trying to ssh to an Oracle Linux 7 host, getting below error:


Usually found this issue on new installed environment, however a fresh installation does not 100% reproduce this issue.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.