SSH Fails With Error: "FIPS mode initialized FIPS mode initialized ssh: connect to host <host name>
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.
Tagged:
0