While setting up a new system I got this error.
Stopping sshd: [ OK ]
cat: /proc/sys/crypto/fips_enabled: No such file or directory
/etc/init.d/sshd: line 50: [: too many arguments
Starting sshd: [ OK ]
To fix:
vim /etc/init.d/sshd
replace this part on line 50
if [ ! -s $RSA1_KEY -a cat /proc/sys/crypto/fips_enabled -eq 0 ];then
with
if [ ! -s $RSA1_KEY ];then
How to Fix: Centos 6 SSH Stop/Restart Error – cat: /proc/sys/crypto/fips_enabled