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.
4 Comments
Leave a Reply
Other posts from Server Virtualization
- Create your own Provider Virtual Data Center
- Measure some perf benchs with VMark
- VMware partners with Symantec on ApplicationHA
- Andre Leibovici's Linked cloning storage calculator
- SIOC yes, but not in the SMB kit...
- Best practices KB on how-to install ESX 4.1 and vCenter
- Hyper-V and new linux integration tools
- How to Fix “Transaction log for database ‘VIM_VCDB’ is full” errors
- How to change from ACPI Multiprocessor HAL back to ACPI Uniprocessor HAL in Windows 2003
- AD Integration for ESXi 4.1
- vCenter converter with Hyper-V import
- Serial Port handling in ESXi 4.1
- Four memory optimization techniques available in vSphere 4.1
- Activating remote access via SSH in ESXi4.1
- vSphere Compatibility Matrixes
- 150 new features or enhancements in vSphere 4.1
- Personalized install of VMware tools
- VMware tools download from VMware Website
- How to change virtual SCSI controler
- Microsoft's patch for .NET breaks VI client connection
























No need to reboot, just /etc/init.d/sshd restart
Carter Shanklins last blog post..During installation of the View Agent on an unmanaged machine, specifying a View Connection Server name with non-ASCII characters is not supported (1007605)
Hi Carter,
thanks for this one. I was not sure about it…. -:)
Or even shorter: service sshd restart
Eric Grays last blog post..Let them eat cake!
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