systemd[1]: Started OpenSSH Daemon.
sshd[8432]: /etc/ssh/sshd_config line 107: FipsMode should be set before Ciphers option
systemd[1]: sshd.service: Main process exited, code=exited, status=255/n/a
systemd[1]: sshd.service: Failed with result 'exit-code'.
systemd[1]: sshd.service: Service RestartSec=100ms expired, scheduling restart.
systemd[1]: sshd.service: Scheduled restart job, restart counter is at 4.
systemd[1]: Stopped OpenSSH Daemon.# systemctl status sshdvCenter Server Appliance 7.x
vCenter Server Appliance 8.x
The /etc/ssh/sshd_config file is corrupt or has wrong entries.
To resolve this issue, modify or restore the sshd_config file from a working VCSA of the same version by following these steps:
Since SSH is down on the problematic VCSA, standard SCP clients like WinSCP may fail.
Extract contents from the working VCSA:
/etc/ssh/sshd_config on the working VCSA.Prepare the problematic VCSA:
mv sshd_config sshd_config.bakCreate and populate the new configuration file:
vi sshd_config/etc/ssh/ folder when running this. i to enter Insert mode and paste the text previously copied into the editor.Save and exit:
Esc.:wq!