systemctl --start sshd fails with outputFailed to start sshd.service: Unit sshd.service is masked.KB-specific workarounds (e.g., Unmask vCenter Server Appliance services using shell script ) cannot be applied because remote access is blocked.
VMware vCenter Server 8.0.x
The sshd unit file has been linked to /dev/null (masked), preventing the service from being started manually or automatically. This is often the result of aggressive security hardening or manual administrative lockdown.
Launch the Web Console or Remote Console.
Press ALT+F1 (or the equivalent for your console) to switch to the login prompt.
Log in as root.
If you are in the Appliance Shell, type shell to enter the BASH interface.
Unmask the SSH service:
systemctl unmask sshd
Enable and start the service:
systemctl enable sshdsystemctl start sshd
Verify the status:
systemctl status sshd