ESX: How to allow the root user to login to VMware ESX Server with SSH

Posted on Updated on

To allow the root user to login to a VMware ESX Server over the network using SSH, do the following:

  1. Go to the service console on the physical server & login
  2. nano /etc/ssh/sshd_config
  3. Change the line that says PermitRootLogin from “no” to “yes”
  4. do service sshd restart or etc/init.d/sshd restart

Note:
1. Firewall allow SSH Services.
2. Allowing root logins via SSH is not considered. (security best practice)
3. Users should create non-privileged accounts to use with SSH (not root), then use su or sudo once you have logged into the console.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s