Understandably, the free hypervisors (or Virtual Infrastructure Nodes - VINs - as we used to call them back in the old days) ESX 3i and 4i from VMWare have some limitations over their paid for brethren.
One of them is that access via SSH to the server is not available. SCP is also not possible 'out of the box'.
This means that remote console or file transfer to the base Linux install via Secure FTP are not possible.
However, SSH and SCP can be enabled with this little hack / trick / workaround:
Obviously this is not officially supported by VMware, although the functionality enabled by the above is used for troubleshooting by VMware support.
Funny what you miss when it's taken away...!
- Chris
One of them is that access via SSH to the server is not available. SCP is also not possible 'out of the box'.
This means that remote console or file transfer to the base Linux install via Secure FTP are not possible.
However, SSH and SCP can be enabled with this little hack / trick / workaround:
- At the console of the ESXi, hit ALT+F1 to view the console window
- Enter the word unsupported and press ENTER (nothing will show on the screen)
- A support warning will show if you typed in correctly.
- Enter root login password
- At the ~# prompt type vi /etc/inetd.conf to edit the configuration file
- Find the line #SSH and remove the # by placing the cursor on the sign, press ESC and press x
- Be sure that complete line moves to the left, so that there's no space before SSH
- Save the file by pressing ESC and :wq!
- Back at the ~# type ps aux |grep inetd make a note of the PID for inetd
- kill -HUP PID to restart the inetd process
- Now test if SSH is working with PuTTY (Can be downloaded here).
- If SSH is still not working, try rebooting the ESXi server
Obviously this is not officially supported by VMware, although the functionality enabled by the above is used for troubleshooting by VMware support.
Funny what you miss when it's taken away...!
- Chris