I am trying to disable any weak ciphers/algorithms in my ec2 instances. And I have added following lines in the /etc/ssh/sshd_config
... Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,arcfour MACs hmac-sha1,[email protected],hmac-ripemd160,hmac-sha2-256,hmac-sha2-512,[email protected] ... And when I try to restart the sshd service, it is not re-starting properly. So I did;
sshd -t And I got the following error:
Bad SSH2 mac spec 'hmac-sha1,[email protected],hmac-ripemd160,hmac-sha2-256,hmac-sha2-512,[email protected]'
Can somehelp help me how to fix this?
The sshd version is OpenSSH_8.0p1, OpenSSL 1.1.1k FIPS 25 Mar 2021