Security scans (e.g., Qualys) might identify the use of weak SHA-1-based algorithms on port 22 (sshd) of SDDC Manager.
These ciphers include:
KexAlgorithms diffie-hellman-group14-sha1
HostKeyAlgorithms ssh-rsa
MACs hmac-sha1 [email protected]
These ciphers are considered insecure due to known vulnerabilities in the SHA-1 hashing algorithm.
Security scans (e.g., Qualys) might identify the use of weak SHA-1-based algorithms on port 22 (sshd) of SDDC Manager.
To resolve the issue, please follow the below mentioned steps:
Note: Please ensure to take SDDC Manager snapshot before making any changes.
Take a snapshot of SDDC Manager.
Download the disable-sha1-support.sh and hardenssh.sh scripts attached to the KB.
Transfer the script to the SDDC manager, or copy the contents to a file on the SDDC Manager.
Ideally put the script in /tmp.
SSH to the SDDC Manager with the vcf user, and su root
Make the script executable.
chmod +x /tmp/hardenssh.sh /tmp/disable-sha1-support.sh
/cd /tmp
/tmp/hardenssh.sh /etc/ssh/sshd_config
Restart sshd service.
systemctl restart sshd.service
KexAlgorithms diffie-hellman-group14-sha1
HostKeyAlgorithms ssh-rsa,ssh-ed25519,[email protected],[email protected]
MACs [email protected],hmac-sha1