Skip to content

Commit 1ae44f1

Browse files
Merge pull request #196 from wp-cli/3256-ssh-clarification
Clarify SSH usage
2 parents 04c3afc + c137119 commit 1ae44f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_includes/global-parameters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h3>Global Parameters</h3>
44

55
<p><code>--path=&lt;path&gt;</code>
66
Path to the WordPress files.</p>
7-
<p><code>--ssh=&lt;ssh&gt;</code>
7+
<p><code>--ssh=[&lt;user&gt;@]&lt;host&gt;[:&lt;port&gt;][&lt;path&gt;]</code>
88
Perform operation against a remote server over SSH.</p>
99
<p><code>--http=&lt;http&gt;</code>
1010
Perform operation against a remote WordPress install over HTTP.</p>

_includes/param-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
Default value: <code>null</code>
1919
</td>
2020
<td>
21-
<code class="flag">--ssh=&lt;ssh&gt;</code>
21+
<code class="flag">--ssh=[&lt;user&gt;@]&lt;host&gt;[:&lt;port&gt;][&lt;path&gt;]</code>
2222
</td>
2323
<td>
24-
<code class="option">ssh: &lt;ssh&gt;</code>
24+
<code class="option">ssh: [&lt;user&gt;@]&lt;host&gt;[:&lt;port&gt;][&lt;path&gt;]</code>
2525
</td>
2626
</tr>
2727
<tr>

0 commit comments

Comments
 (0)