How to enable the root login in the ESX server which is OFF by default?
Edit the configuration file for SSH with the command:
nano /etc/ssh/sshd_config
Find the line that starts with PermitRootLogin and change the no to yes. You can find this line about 2 pages down from the top.
Save the file by first pressing Ctrl-O and then Enter.
Exit with Ctrl-X.
Restart the sshd service with the command:
service sshd restart
Latest posts by Ravi Chopra (see all)
- LDAP Integration with Active Directory: Detailed Guide - 13 January 2025
- Top 35 Azure AD Interview Questions and Answers | 2025 - 9 January 2025
- 25 Must-Know Kubernetes Interview Questions and Answers (2025) - 9 January 2025