1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-07 09:31:04 +01:00
This commit is contained in:
teto 2022-11-27 15:16:19 +00:00
parent bad65feca5
commit 2bace16a28
3 changed files with 27 additions and 11 deletions

View file

@ -7449,8 +7449,14 @@ over the secure channel and <code class="envar">DISPLAY</code> set.
original X11 display.
</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">false</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/ssh.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.ssh.matchBlocks._name_.host"></a><a class="term" href="options.html#opt-programs.ssh.matchBlocks._name_.host"><code class="option">programs.ssh.matchBlocks.&lt;name&gt;.host</code></a></span></dt><dd><p>The host pattern used by this conditional block.
</p><p><span class="emphasis"><em>Type:</em></span> string</p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">"*.example.org"</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.ssh.matchBlocks._name_.host"></a><a class="term" href="options.html#opt-programs.ssh.matchBlocks._name_.host"><code class="option">programs.ssh.matchBlocks.&lt;name&gt;.host</code></a></span></dt><dd><p><code class="literal">Host</code> pattern used by this conditional block.
See
<span class="citerefentry"><span class="refentrytitle">ssh_config</span>(5)</span>
for <code class="literal">Host</code> block details.
This option is ignored if
<code class="option">ssh.matchBlocks.*.matcht</code>
if defined.
</p><p><span class="emphasis"><em>Type:</em></span> null or string</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</code></p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">"*.example.org"</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/ssh.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.ssh.matchBlocks._name_.hostname"></a><a class="term" href="options.html#opt-programs.ssh.matchBlocks._name_.hostname"><code class="option">programs.ssh.matchBlocks.&lt;name&gt;.hostname</code></a></span></dt><dd><p>Specifies the real host name to log into.</p><p><span class="emphasis"><em>Type:</em></span> null or string</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/ssh.nix&gt;
@ -7492,6 +7498,16 @@ Identities will be tried in the given order.
&lt;home-manager/modules/programs/ssh.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.ssh.matchBlocks._name_.localForwards._.host.port"></a><a class="term" href="options.html#opt-programs.ssh.matchBlocks._name_.localForwards._.host.port"><code class="option">programs.ssh.matchBlocks.&lt;name&gt;.localForwards.*.host.port</code></a></span></dt><dd><p>Specifies port number to forward the traffic to.</p><p><span class="emphasis"><em>Type:</em></span> null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</code></p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">80</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/ssh.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.ssh.matchBlocks._name_.match"></a><a class="term" href="options.html#opt-programs.ssh.matchBlocks._name_.match"><code class="option">programs.ssh.matchBlocks.&lt;name&gt;.match</code></a></span></dt><dd><p><code class="literal">Match</code> block conditions used by this block. See
<span class="citerefentry"><span class="refentrytitle">ssh_config</span>(5)</span>
for <code class="literal">Match</code> block details.
This option takes precedence over
<code class="option">ssh.matchBlocks.*.host</code>
if defined.
</p><p><span class="emphasis"><em>Type:</em></span> null or string</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">''
host &lt;hostname&gt; canonical
host &lt;hostname&gt; exec "ping -c1 -q 192.168.17.1"''</pre><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/ssh.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.ssh.matchBlocks._name_.port"></a><a class="term" href="options.html#opt-programs.ssh.matchBlocks._name_.port"><code class="option">programs.ssh.matchBlocks.&lt;name&gt;.port</code></a></span></dt><dd><p>Specifies port number to connect on remote host.</p><p><span class="emphasis"><em>Type:</em></span> null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/ssh.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.ssh.matchBlocks._name_.proxyCommand"></a><a class="term" href="options.html#opt-programs.ssh.matchBlocks._name_.proxyCommand"><code class="option">programs.ssh.matchBlocks.&lt;name&gt;.proxyCommand</code></a></span></dt><dd><p>The command to use to connect to the server.</p><p><span class="emphasis"><em>Type:</em></span> null or string</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix#blob-path" target="_top">