How to activate SSH for ESX Server

SSH is blocked by default for the root user.

To enable the root access
You’ll need to edit the file /etc/ssh/sshd_config.

You need to change the value PermitRootLogin to Yes

Then you’ll need to reboot your ESX Server

To open the Firewall Ports on your ESX Host:

To allow access to ESX Server for a service or management agent
1.) Log on to the VI Client and select the server from the inventory panel.

The hardware configuration page for this server appears.
2.) Click the Configuration tab and click Security Profile.

Select the SSH Client and SSH Server checkbox and click OK.

Then reboot your ESX Server or start the ssh client daemon.

Share

Technorati Tags: , , , , , , , , , , , , , , , , , ,

4 Comments

  1. Vladan SEGET

    Hi Carter,

    thanks for this one. I was not sure about it…. -:)

  2. Or even shorter: service sshd restart

    Eric Grays last blog post..Let them eat cake!

  3. Since you’re already at the command line, why not turn on firewall ports there as well:

    esxcfg-firewall -e sshServer
    esxcfg-firewall -e sshClient

    Andrews last blog post..Using

Leave a Reply

Other posts from Server Virtualization