<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Linglom&#039;s blog &#187; VMWare</title>
	<atom:link href="http://www.linglom.com/category/virtualization/vmware-virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linglom.com</link>
	<description>Just another IT weblog</description>
	<lastBuildDate>Wed, 01 Sep 2010 02:30:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Enable SSH on VMWare ESXi Server 3.5</title>
		<link>http://www.linglom.com/2010/03/13/how-to-enable-ssh-on-vmware-esxi-server-3-5/</link>
		<comments>http://www.linglom.com/2010/03/13/how-to-enable-ssh-on-vmware-esxi-server-3-5/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 08:48:27 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=629</guid>
		<description><![CDATA[Introduction By default, SSH is disabled on VMWare ESXi Server but you can enable SSH manually. It&#8217;s easy, just take a few minutes and few steps to enable SSH. On this example, I am going to show how to enable SSH on VMWare ESXi Server 3.5 on HP ProLiant BL25p G2. Step-by-step On VMWare ESXi [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><h3>Introduction</h3>
<p>By default, SSH is disabled on VMWare ESXi Server but you can enable SSH manually. It&#8217;s easy, just take a few minutes and few steps to enable SSH. On this example, I am going to show how to enable SSH on VMWare ESXi Server 3.5 on HP ProLiant BL25p G2.</p>
<p><span id="more-629"></span></p>
<p><!-- Start AdLogger Wrapping Code -->
<?php @include_once("/usr/local/psa/home/vhosts/linglom.com/httpdocs/adlogger/ad_check_include.php"); if ($show_ads == 'y') { ?>

<script type="text/javascript"><!--
google_ad_client = "pub-7765165459812980";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2007-02-17: SquareonBlog
google_ad_channel = "6055254908";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "ce6531";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<?php } ?>
<!-- End AdLogger Wrapping Code --></p>
<h3>Step-by-step</h3>
<ol>
<li>On VMWare ESXi Server, press &#8220;<strong>ALT+F1</strong>&#8221; to access VMWare ESXi console.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/1.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_1.png" width="250" height="191" alt="VMWare ESXi Server 3.5 Screen" title="VMWare ESXi Server 3.5 Screen"  /></a></li>
<li>By default, VMWare ESXi is disabled console access. So you have to enable it by type the following text and press <strong>Enter</strong>.

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">unsupported</pre></div></div>

<p><em><strong>Note:</strong></em> You won&#8217;t see the text that you have typed on this step.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/2.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_2.png" width="250" height="190" alt="Enter VMWare ESXi Server's Console" title="Enter VMWare ESXi Server's Console"  /></a></li>
<li>If you type the text correctly, there&#8217;ll be a message tells that

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">You have activated Tech Support Mode.
The time and date of this activation have been sent to the system logs.</pre></div></div>

<p>Then, it asks for the root&#8217;s password so type the password of the root account and press <strong>Enter</strong>.<br />
<em><strong>Note:</strong></em> You also won&#8217;t see the text that you have typed on this step either.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/3.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_3.png" width="250" height="191" alt="Type Root's Password" title="Type Root's Password"  /></a></li>
<li>Now you have accessed to console on VMWare ESXi. Notice that you see &#8220;~ #&#8221; at the beginning which means that the console is waiting for a command from you.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/4.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_4.png" width="250" height="73" alt="Console on VMWare ESXi Server" title="Console on VMWare ESXi Server"  /></a></li>
<li>To enable SSH, you have to edit /etc/inetd.conf. Type the command below in the console.

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">vi /etc/inetd.conf</pre></div></div>

<p><em><strong>Note:</strong></em> vi is the file editor tool in Linux platform as similar to Notepad in Windows.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/5.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_5.png" width="250" height="35" alt="Edit inetd.conf" title="Edit inetd.conf"  /></a></li>
<li>Here, you see the content of inetd.conf.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/6.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_6.png" width="250" height="191" alt="inetd.conf" title="inetd.conf"  /></a></li>
<li>Scroll down to the line that begins with the following text.

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">#ssh   stream   tcp   nowait   root   /sbin/dropbearmulti   dropbear</pre></div></div>

<p>Then, press the character &#8216;x&#8217; when the cursor is on the character &#8216;#&#8217; to remove &#8216;#&#8217; as the figure below.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">ssh   stream   tcp   nowait   root   /sbin/dropbearmulti   dropbear</pre></div></div>

<p><em><strong>Note:</strong></em> The character &#8216;#&#8217; at the beginning on a line means that the line is a comment, the program that associated with the file will not process the line.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/7.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_7.png" width="250" height="191" alt="Edit Config File to Enable SSH" title="Edit Config File to Enable SSH"  /></a></li>
<li>Next, save the file by press <strong>ESC</strong>. Then, type

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">:wq!</pre></div></div>

<p> and press <strong>Enter</strong> to save and exit the file editor at the same time.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/8.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_8.png" width="250" height="91" alt="Save the File" title="Save the File"  /></a></li>
<li>Next, restart the management service. Type

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">/sbin/services.sh restart</pre></div></div>

<p><em><strong>Note:</strong></em> Since VMWare ESXi 3.5 Update 2, the &#8220;/sbin/services.sh restart&#8221; command is no longer restarts the inetd process so the configuration that you&#8217;ve just modified is not reflect to the system yet. Therfore, you need to do more steps.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/9.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_9.png" width="250" height="46" alt="Restart the Management Service" title="Restart the Management Service"  /></a></li>
<li>Next, you need to kill the inetd process. First, you have to get the process id of inetd. Type the command below, you&#8217;ll see the process ID of inetd.

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">ps | grep inetd</pre></div></div>

<p><a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/10.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_10.png" width="250" height="24" alt="View Existing inetd's Process" title="View Existing inetd's Process"  /></a></li>
<li>Kill the process. Type the command &#8220;kill -HUP&#8221; follow with the process ID that you get from the previous step as the figure below.

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">kill -HUP 1288</pre></div></div>

<p><em><strong>Note:</strong></em> The process ID of inetd of yours may not be the same as mine. You have to adjust by yourself.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/11.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_11.png" width="250" height="16" alt="Kill the inetd's Process" title="Kill the inetd's Process"  /></a></li>
<li>That&#8217;s it. You have enabled SSH on VMWare ESXi Server already. Now you can SSH to the VMWare ESXi Server using tool such as putty, WinSCP, etc. Type the command below to exit the console.

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">exit</pre></div></div>

<p><a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/12.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_12.png" width="250" height="16" alt="Exit the Console" title="Exit the Console"  /></a></li>
<li>Then, press &#8220;<strong>Alt+F2</strong>&#8221; to return to the GUI screen.<br />
<a href="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/13.png" target="_blank"><img src="http://www.linglom.com/images/virtualization/VMWare/ESXi-Server/Enable-SSH/_13.png" width="250" height="191" alt="Return to GUI Screen" title="Kill the inetd's Process"  /></a></li>
</ol>
</div>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2010/03/13/how-to-enable-ssh-on-vmware-esxi-server-3-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
