Skip navigation
VMware
23,342 Views 20 Replies Last post: Jun 9, 2009 8:49 AM by fedtom RSS
1 2 Previous Next
aregnier42 Novice 15 posts since
Mar 3, 2008
Currently Being Moderated

Mar 9, 2008 1:53 PM

how to get ssh access to ESX 3i?

 

Is it possible and how to get ssh access to ESX 3i?

 

 

I know it's possible with ESX 3.5 that contain the service console... But what about with ESX 3i?

 

 

 

 

 

thanks

 

 

petedr Virtuoso vExpert 1,797 posts since
Mar 18, 2006
Currently Being Moderated
1. Mar 9, 2008 4:38 PM in response to: aregnier42
Re: how to get ssh access to ESX 3i?

 

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.

 

http://www.vmware.com/download/vi/drivers_tools.html

 

 

 

 

 

 

www.thevirtualheadline.com www.liquidwarelabs.com
petedr Virtuoso vExpert 1,797 posts since
Mar 18, 2006
Currently Being Moderated
3. Mar 9, 2008 5:10 PM in response to: aregnier42
Re: how to get ssh access to ESX 3i?

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.

www.thevirtualheadline.com www.liquidwarelabs.com
lamw Guru vExpert 5,961 posts since
Nov 27, 2007
Currently Being Moderated
4. Mar 9, 2008 5:41 PM in response to: petedr
Re: how to get ssh access to ESX 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.

*Disclaimer: VMware Employee - William Lam | http://www.virtuallyghetto.com | http://blogs.vmware.com/vsphere/automation | @lamw
Teiva Enthusiast 40 posts since
May 4, 2007
Currently Being Moderated
5. Mar 9, 2008 5:48 PM in response to: aregnier42
Re: how to get ssh access to ESX 3i?

 

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

 

 

- Create user accounts (if you do not want to logon as root") see Tab Re: how to get ssh access to ESX 3i?

 

 

- Grant user Shell access (same place)

 

 

 

I have never used 3i but if the doco says so it must be true

 

 

T.

 

 

Teiva
Dave.Mishchen… Guru User Moderators vExpert 11,905 posts since
Nov 15, 2005
Currently Being Moderated
7. Apr 5, 2008 11:23 AM in response to: aregnier42
Re: how to get ssh access to ESX 3i?

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.

Dave.Mishchen… Guru User Moderators vExpert 11,905 posts since
Nov 15, 2005
Currently Being Moderated
8. Apr 5, 2008 11:26 AM in response to: aregnier42
Re: how to get ssh access to ESX 3i?

The CLI includes the commands vmkfstools.pl and vifs.pl which can be used to copy / move files.

dengle Novice 24 posts since
Jun 15, 2006
Currently Being Moderated
9. Jun 9, 2008 6:22 AM in response to: Dave.Mishchen…
Re: how to get ssh access to ESX 3i?

When you are doing  vmkfstools remotely, how do you find the lcoation of the VM folder you are wanting to work with?

Henk Nachtega… Novice 9 posts since
Feb 21, 2008
Currently Being Moderated
10. Jun 9, 2008 7:50 AM in response to: dengle
Re: how to get ssh access to ESX 3i?

 

edit the sshd_config file by entering the command:

 

 

nano /etc/ssh/sshd_config

 

 

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:

 

 

./etc/init.d/sshd restart

 

 

 

 

 

Thats it

 

 

 

 

 

Good luck

 

 

Paul Lalonde Master 767 posts since
Jan 16, 2006
Currently Being Moderated
11. Jun 9, 2008 6:39 PM in response to: aregnier42
Re: how to get ssh access to ESX 3i?

 

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.

 

 

Regards,

Paul

 

 

Bpace Novice 25 posts since
Jul 13, 2006
Currently Being Moderated
12. Jun 14, 2008 6:08 AM in response to: aregnier42
Re: how to get ssh access to ESX 3i?

 

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.

 

 

Desmo Novice 18 posts since
Mar 22, 2007
Currently Being Moderated
13. Jun 24, 2008 3:37 AM in response to: Bpace
Re: how to get ssh access to ESX 3i?

Enabled ssh ok but ./etc/init.d/sshd or ./etc.ssh/ssh_config does not exist in 3i. How do you permit ssh logon for either the root or another user?

ocremel Hot Shot VMware Employees 241 posts since
Aug 8, 2003
Currently Being Moderated
14. Jun 27, 2008 2:58 AM in response to: Desmo
Re: how to get ssh access to ESX 3i?

 

I ssh is enabled, logon will be permitted. Is it really enabled (SIGHUP to inetd).

 

 

Standard disclaimer: enabling ssh is not supported so you take your chances.

 

 

Bookmarked By (0)

Share This Page

Communities