<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vi-toolkit.com/index.php?action=history&amp;feed=atom&amp;title=PowerCLI%3A_enable_SSH_and_configure_ESXi_Firewall</id>
	<title>PowerCLI: enable SSH and configure ESXi Firewall - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vi-toolkit.com/index.php?action=history&amp;feed=atom&amp;title=PowerCLI%3A_enable_SSH_and_configure_ESXi_Firewall"/>
	<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=PowerCLI:_enable_SSH_and_configure_ESXi_Firewall&amp;action=history"/>
	<updated>2026-06-17T20:17:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=PowerCLI:_enable_SSH_and_configure_ESXi_Firewall&amp;diff=1258&amp;oldid=prev</id>
		<title>Wila: Oops, not perl, but powerCLI</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=PowerCLI:_enable_SSH_and_configure_ESXi_Firewall&amp;diff=1258&amp;oldid=prev"/>
		<updated>2013-07-29T18:13:18Z</updated>

		<summary type="html">&lt;p&gt;Oops, not perl, but powerCLI&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:13, 29 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://ict-freak.nl/2013/05/02/powercli-enable-ssh-and-configure-esxi-firewall/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://ict-freak.nl/2013/05/02/powercli-enable-ssh-and-configure-esxi-firewall/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Perl&lt;/del&gt;]] [[Category: Host Management]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PowerCLI&lt;/ins&gt;]] [[Category: Host Management]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wila</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=PowerCLI:_enable_SSH_and_configure_ESXi_Firewall&amp;diff=1257&amp;oldid=prev</id>
		<title>Wila: Created page with &quot;===  PowerCLI: Enable SSH and configure ESXi Firewall === author: Arne Fokkema ==== Description ==== By default nowadays a host is not supposed to have SSH enabled as you are ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=PowerCLI:_enable_SSH_and_configure_ESXi_Firewall&amp;diff=1257&amp;oldid=prev"/>
		<updated>2013-07-29T18:12:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===  PowerCLI: Enable SSH and configure ESXi Firewall === author: Arne Fokkema ==== Description ==== By default nowadays a host is not supposed to have SSH enabled as you are ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===  PowerCLI: Enable SSH and configure ESXi Firewall ===&lt;br /&gt;
author: Arne Fokkema&lt;br /&gt;
==== Description ====&lt;br /&gt;
By default nowadays a host is not supposed to have SSH enabled as you are supposed to manage your host via the exposed APIs.&lt;br /&gt;
There are however times when it is really convenient to have SSH access. Instead of just opening SSH and disregarding or ignoring the warning this creates, Arne created a PowerCLI script to enable/disable SSH on need.&lt;br /&gt;
&lt;br /&gt;
The script configures SSH to start automatically, it hides the Shell warning message and will then configure the ESXi firewall to allow the connection from a certain IP address. &lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
Change the $cluster and $ip variables to accomodate your environment.&lt;br /&gt;
Then copy the script to your PowerCLI session and run it.&lt;br /&gt;
 &lt;br /&gt;
 $cluster = &amp;quot;&amp;lt;clusterName&amp;gt;&amp;quot;&lt;br /&gt;
 $ip = &amp;quot;192.168.1.1&amp;quot;&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
http://ict-freak.nl/2013/05/02/powercli-enable-ssh-and-configure-esxi-firewall/&lt;br /&gt;
&lt;br /&gt;
[[Category: Perl]] [[Category: Host Management]]&lt;/div&gt;</summary>
		<author><name>Wila</name></author>
	</entry>
</feed>