View unanswered posts | View active topics It is currently Mon Jan 23, 2017 8:46 am

Reply to topic  [ 4 posts ] 
Author Message

Joined: Tue Jan 24, 2012 2:46 am
Posts: 2
Reply with quote
Post SSH
Hi All,

I need to enable SSH on several servers, I’ve read through a post on this form previously with detailed instructions:

1) At the console of the ESXi host, press ALT-F1 to access the console window.

2) Enter unsupported in the console and then press Enter. You will not see the text you type in.

3) If you typed in unsupported correctly, you will see the Tech Support Mode warning and a password prompt. Enter the password for the root login.

4) You should then see the prompt of ~ #. Edit the file inetd.conf (enter the command vi /etc/inetd.conf).

5) Find the lines that begins with #ssh and remove the #. Then save the file. If you're new to using vi, then move the cursor down to #ssh line and then press the Insert key. Move the cursor over one space and then hit backspace to delete the #. Then press ESC and type in :wq to save the file and exit vi. If you make a mistake, you can press the ESC key and then type it :q! to quit vi without saving the file. Note: there are two lines for SSH with ESXi 4.0 now - one for regular IP and the other for IPv6. You should the line appropriate to the protocol you'll use to access your host.

6) Once you've closed the vi editor, you can either restart the host or restart the inetd process. To restart inetd run ps | grep inetd to determine the process ID for the inetd process. The output of the command will be something like 1299 1299 busybox inetd, and the process ID is 1299. Then run kill -HUP <process_id> (kill -HUP 1299 in this example) and you'll then be able to access the host via SSH.

However I’ve done all this and I’m still unable to use putty to connect to the host machine.

Any ideas?

Tue Jan 24, 2012 2:51 am

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 455
Location: Sweden
Reply with quote
Post Re: SSH
Sorry to ask but you are running 3.5 ?

Dovie'andi se tovya sagain,

Tue Jan 24, 2012 10:24 am
Profile WWW

Joined: Tue Jan 24, 2012 2:46 am
Posts: 2
Reply with quote
Post Re: SSH
Varazir wrote:
Sorry to ask but you are running 3.5 ?

Yes, ESX 3.5

Tue Jan 24, 2012 10:27 pm
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: SSH
ESX 3.5 or ESXi 3.5? The process is a bit different for ESX.

Are you getting any sort of error?

Dave Mishchenko
VMware vExpert 2009-2013
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide

Wed Jan 25, 2012 7:32 am
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.