Sunday, 31 January 2010

Enable SSH access to ESX for root user

SSH access for the root user is disabled by default in ESX 4. To allow SSH access for the root user you will need to make a change to the sshd_config file. This will need to be done via the ESX server console.

- Open the ESX Console (press Alt-F1)
- Login as root
- Edit ssh_config: nano /etc/ssh/sshd_config
- Change the line: PermitRootLogin no
- to: PermitRootLogin yes
- Exit and save changes
- Restart the sshd service: service sshd restart

No comments: