Share on Facebook3Tweet about this on TwitterShare on Google+0Share on Reddit0Digg thisPin on Pinterest0Email this to someone

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


if [ ! -s $RSA1_KEY  ];then



If you enjoyed this post, why not leave a comment or consider a Donation as a token of your appreciation. If you need help implementing something you saw on this site or any other project why not Hire Me?
How to Fix: Centos 6 SSH Stop/Restart Error – cat: /proc/sys/crypto/fips_enabled
Tagged on:                                                                     

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading Facebook Comments ...