cuongk6t's Blog

How they do that – step by step

How to activate root SSH access in ESX 4.0

leave a comment »

In ESX 4.0 SSH is blocked by default for the root user so you need to activate the root login on the console of the ESX server.

01.) First you must login as a root at the console of your ESX 4 Server.
02.) Then you must navigate to the /etc/ssh directory. Just type in: 
cd /etc/ssh
03.) Open nano (text editor, easy to use…) type:
nano sshd_config
Navigate to the line saying PermitRootLogin no and change it to
04.) Type then CTRL+X to exit. On the prompt answer Y (as Yes to save the modified file).
05.) Then you’ll need to restart the sshd service typing:
service sshd restart.
06.) While you are in the cosole just type in the following two commands to open firewall ports:
esxcfg-firewall -e sshServer
esxcfg-firewall -e sshClient


cuongk6t – Nguyen Quoc Cuong


Written by cuongk6t

09/12/2011 at 1:10 pm

Posted in Uncategorized

Leave a Reply

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

You are commenting using your 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

%d bloggers like this: