There isn't a service console with esx 3i. For any commands you need to use the Remote CLI which needs to be installed in a VM.
There is a windows and linux installable version and VMware also has a preloaded appliance VM which can be used.
Check in the drivers and tools page for VI3 for the download.
thanks for your response.
I actually looked into that, installed the VIRemoteCLI and I was less than impressed to find out that the only thing that was really installed was a bunch of crappy perl scripts... (it took me a while to figure out, that those were what was actually installed)
One of the reason why I would like to have ssh access is to be able to do manual copy/backup directly on the host, of the whole vm folder. (like you would do with VMWare Server) I understand there are better options with GUI etc... but I'm investigating transition from VMWare Server to ESX 3i, and there are things I'd like to do the same way. (of course there are no problem to do that with the full ESX 3.5)
Is there an easy way to do that with the CLI ?
Could the Datastore browser be a good place to do that kind of stuff (at least for the copy/backup of files/folders)?
I haven't played with the RCL that much. If you are looking for the commands that the service console provided you may be better off looking at moving to ESX 3.5 instead of 3i.
At the bootloader type "shift-O" this will bring up an advanced option and type "shell", continue booting and then you can click "alt+f1" to be able to login. You'll get some of the standard tools (esxcfg-*,etc) you see in 3.0.x / 3.5.x but this option is unsupported by VMware, use at your own risk. I believe this is for further support troubleshoot and is not documented.
Hi aregnier42, page 148 of the ESX Server 3i Configuration Guide and the Basic admin guide states to use the VI client to connect directly to the ESX 3i server to perform the following tasks
- Firewall configurations to enable SSH service - see tab Configurations | Security Profile | Enable server and make sure it's running
- Grant user Shell access (same place)
I have never used 3i but if the doco says so it must be true
The shift-O option was removed and was only part of the beta program. To get access to the console you can type "unsupported" as described in this KB article http://kb.vmware.com/kb/1003677 but this will only give you console access and not SSH. You'll need to look at the RCLI (vifs) or other tools to copy a VM to and from your 3i host.
edit the sshd_config file by entering the command:
Look for the line called "PermitRootLogin no" and change it to "PermitRootLogin yes"
After changing the line you have to restart the sshd server by running the command:
Boot your ESXi server, wait for it to finish loading, and then do the following:
1. ALT-F1 to change to the main console.
2. Type 'unsupported' (you will not be able to see what you're typing).
3. When prompted, enter the root user's password.
4. Type: vi /etc/inetd.conf
5. Find the line that begins with #ssh
6. Cursor over the first 's' and press the 'i' key (for insert mode)
7. Press backspace
8. Press ESC
9. Type SHIFT+colon ( and then 'wq!' to write and exit.
10. Type 'ps | grep inetd' to find the inetd process
11. Send the hangup signal to the process ID output from step 10 with: kill -s HUP <PID>
12. You can now SSH into your ESXi server.
Anyone know if you can still do SSH? I followed the instructions and I get some message like not authorized. I have the very latest greatest ESXi hotfixes. Any thoughts? The whole reason for needing SSH in my situation is that I hear I can use VCB (san) along with vRanger to backup my ESXi boxes.
Does anyone have any ideas/thoughts on SSH and/or backups of ESXi.
Sorry to reply again. I have enabled ssh as above and now rebooted the server. Still no SSH access, the connection is refused. I am using the root account. Any ideas would be welcome?
Look at the inetd.conf file again. You need to make sure that there are NO extra spaces or any key strokes that might have accidentally been added. I wish that they had added NANO as a text editor as I find it easier to use than VI.
I had this problem in ESX 3.5 when I added the PermitRootLogin yes into the configuration. I added an extra space and it took me several hours to remedy the issue.
Hope this helps!
Does someone know if enabling ssh then is it possible to reach the vmware server host also through the vi client by remote? Has a specific port other than 22 to be specified? I.e., I have my esxi server host behind a router with nat and I wish to manage it from remote through the vi client beside the commend line. I have tried to scan the open port on the server host and tried to forward them into the router but when trying to connect using the vi client from remote the connection can't be established. When I use it into the lan obviously it goes. Maybe have I to disable firewall on esxi server? But is really there a firewall on the free registered version? Using the vi client in the configuration --> Security section it appears firewall just for 1 second, then it disappear and VirtualCenter Agent and ntp Daemon appear....???
Furthermore, does anyone know how to forward ports to be able to reach via ssh and via vnc the installed Linux Virtual Machines? Within the lan everything work fine, but if I try to reach the virtual machines through a remote position, either ssh or vnc can't onnect to the server. Maybe have I to make some forward from the physical nic on the physical server towards the virtual nic on virtual machines? But how to do this? Thanks
If you enable SSH you'll be able to get to the console for ESXi, but you wouldn't be able to use the VI client. For that you'd need to allow https and TCP 902 (for VM remote console access).