vIDM root account shows disconnected in SDDC manger UI post patching to CSP-102092
In Password Management Page we see, below error
/var/log/vmware/vcf/operationsmanager/operationmanager.log:YYYY-MM-DDT23:33:56.313+0000 ERROR [vcf_om, 690152e4d9d713695b3cd981a64ee63f, c2cc] [c.v.e.s.c.u.c.SshCommandExecuter, om-exec-11] Could not connect to the SSH server @ <FQDN> for configuration.com. vmware. evo.sddc.common.util.command.CommandExecuterException: SSH: Failed to establish SSH session to <FQDN>YYYY-MM-DDT23:33:56.314+0000 ERROR [vcf_om,690152e4d9d713695b3cd981a64ee63f,c2cc] [c.v.v.p.u.c.SshPasswordChanger, om-exec-11] Failed to execute command, error : SSH: Failed to establish SSH session to <FQDN>YYYY-MM-DDT23:33:56.314+0000 ERROR [vcf_om, 690152e4d9d713695b3cd981a64ee63f, c2cc] [c.v.v.p.u.c. SshPasswordChanger, om-exec-11] Unable to login to <FQDN>. org with username root got from CSS[vcf_om,690152e4d9d713695b3cd981a64ee63f,c2cc] [c.v.v.p.u.c.AbstractPasswordChanger, om-exec-11] Failed to execute command, error : SSH: Failed to establish SSH session to <FQDN>
SDDC Manager 5.2.2 with vIDM 3.3.7.0
In the patched vIDM sshd_config, rsa is the only algorithm enabled. But rsa is then disabled in the HostKeyAlgorithms section at the end of the file which causing SSH connections to fail as no algorithm is available.
To resolve the issue : Use Stronger Algorithms and Re-Trust Host Keys:
1. Reconfigure SSH on vIDM Nodes
/etc/ssh/sshd_config so it reads as follows for our specific configuration lines:#HostKey /etc/ssh/ssh_host_rsa_keyHostKey /etc/ssh/ssh_host_ecdsa_keyHostKey /etc/ssh/ssh_host_ed25519_keyHostkeyAlgorithms -ssh-rsa
# systemctl restart sshd
2. Re-Trust Host Keys in SDDC Manager
fixHostKeys.py script. Store it on the SDDC Manager and run (after you take a SDDC VM snapshot):3. Later Remediate Password in SDDC Manager.
Administration > Security > Password Management, click the vertical ellipsis next to the service account, and select Remediate