Skip to content

Commit

Permalink
Site update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 28, 2025
1 parent f00fafc commit cd940d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h2 id="creatingarexfile">Creating a Rexfile</h2>

<p>Insert the following code in your new Rexfile.</p>

<pre><code class="hljs"><span class="hljs-keyword">use</span> Rex -feature =&gt; [&#39;<span class="hljs-string">1.0</span>&#39;];
<pre><code class="hljs">use Rex -feature =&gt; [&#39;<span class="hljs-string">1.0</span>&#39;];
<span class="hljs-keyword">use</span> <span class="hljs-function">Rex::Commands</span>::<span class="hljs-function">Cloud</span>;

user &quot;<span class="hljs-string">root</span>&quot;;
Expand Down
2 changes: 1 addition & 1 deletion docs/release_notes/0.50.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h2 id="base">Base</h2>

<p>If you need to use a jump-host to connect to your servers, you can now use a proxy command to do so. This feature is only available if you&#39;re using the <strong>OpenSSH</strong> connection model.</p>

<pre><code class="hljs">use Rex -feature =&gt; [&#39;<span class="hljs-string">0.50</span>&#39;];
<pre><code class="hljs"><span class="hljs-keyword">use</span> Rex -feature =&gt; [&#39;<span class="hljs-string">0.50</span>&#39;];
set connection =&gt; &quot;<span class="hljs-string">OpenSSH</span>&quot;;
proxy_command &quot;<span class="hljs-string">ssh user</span><span class="hljs-type">@jumphost</span><span class="hljs-string"> nc </span><span class="hljs-type">%h</span><span class="hljs-string"> </span><span class="hljs-type">%p</span><span class="hljs-string"> 2&gt;/dev/null</span>&quot;; </code></pre></li>
<li><p><strong>Added a new experimental execution model</strong></p>
Expand Down

0 comments on commit cd940d9

Please sign in to comment.