SSH access may fail post upgrade to ESXi 7.0 Update 3d
book
Article ID: 344766
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
Symptoms:
After you upgrade to ESXi 7.0 Update 3d, SSH access might fail with one of the following symptoms: Issue 1 :-
If "AcceptEnv" option is enabled in /etc/ssh/sshd_config, then SSH access might fail due SSHD process does not start, and you see no response when connecting on the ESXi host. See the resolution section to remove this option.
Issue 2 :-
If any of SSH client uses SHA-1 hash algorithm for example the ssh-rsa HostKeyAlgorithm, then SSH connection to ESXi server will fail. OpenSSH8.8 release note listed this as in Open SSH Release notes
Environment
VMware vSphere ESXi 7.0.3
Cause
This is due to OpenSSH upgrade to version 8.8 to fix security vulnerability
Option 1 :- Preferred workaround is to use latest version of the SSH client
Option 2 :- Add the ssh-rsa host key type to the HostKeyAlgorithms line of the configuration file or preferably a more secure key type such as ecdsa or rsa-sha2.