Sunday, May 8, 2011

Enabling root SSH login on an ESX host

  1. vi /etc/ssh/sshd_config
  2. Find the line that starts with PermitRootLogin and change the no to yes.
  3. Save file by Esc > : > qw
  4. Restart the sshd service with the command:

    service sshd restart

    Alternatively, use the command:

    /etc/init.d/sshd restart

No comments: