To meet with security policies, the SHA1 algorithm can be safely removed from the SSH service in VMware Aria Operations for logs.
When trying to start SSH service fails with an error : Failed to start OpenSSH Daemon
Error message shows Bad SSH2 mac spec '[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,#hmac-sha1,#[email protected]'
VMware Aria Operations for logs 8.18.x
To remove the SHA1 based algorithms and SSH-RSA based keys usage from the SSH service, follow the steps below for your version of VMware Aria Operations for logs.
Note: Please take snapshots of all nodes before proceeding.
/etc/ssh/sshd_config file:cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak 3.Run the following command to open /etc/ssh/sshd_config in a text editor:
vi /etc/ssh/sshd_config4.Press i to enter insert mode.
5.Find the MACs line and modify it to match the following:
MACs "[email protected],[email protected],hmac-sha2-512,hmac-sha2-256" 6.Press Esc, then type :wq and press Enter to save and close the file.
7.Run the following command to restart the sshd service:
systemctl restart sshd8.Repeats steps 1-7 on all other VMware Aria Operations for logs nodes.