VxRail: Unable to SSH to a vCenter server
Summary: Unable to Secure Shell (SSH) to a vCenter server.
Symptoms
Trying to SSH to a vCenter, and the connection fails.
Tried to enable the SSH service using vCenter Virtual Appliance Management Infrastructure (VAMI) page, but the service automatically disables after few seconds.
Run the Command-Line Interface (CLI) command to try and manually start the SSH service.
systemctl start sshd
Cause
The sshd configuration file is corrupt:

Resolution
Run the command below to check the configuration files. If the output shows any error, open the configuration file to check the related information.
sshd -t
/etc/ssh/sshd_config
Alternatively, connect to another vCenter using the same build number and copy the configuration file to the problematic vCenter. Then run the same command above and check the status.
If all is normal, run the command below to start the SSH service again.
systemctl start sshd