You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SSH Fails With Error: "FIPS mode initialized FIPS mode initialized ssh: connect to host <host name>

edited Jun 6, 2023 3:01AM in Linux

SSH connections to an Oracle Linux 7 or higher fail, with the following errors logged to /var/log/secure:

Oct 28 09:44:40 <HOSTNAME> sshd: FIPS mode initialized<86>

Oct 28 09:44:40 <HOSTNAME> sshd: Did not receive identification string from <IP> port

Oct 28 09:44:45 <HOSTNAME> sshd: FIPS mode initialized<86>

Oct 28 09:44:45 <HOSTNAME> sshd: Did not receive identification string from <IP> port

This error is occurring because FIPS mode is set to enforcing on the server, and the ssh keys being used to log in to the server were generated prior to FIPS being enabled, and thus won't work with FIPS enabled.

To fix this, the ssh keys need to be regenerated on the server while FIPS is enabled.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!