diff options
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index ac05a0cea..67fa0845c 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -126,8 +126,15 @@ This option applies to protocol version 1 only. | |||
126 | If set to | 126 | If set to |
127 | .Dq yes , | 127 | .Dq yes , |
128 | passphrase/password querying will be disabled. | 128 | passphrase/password querying will be disabled. |
129 | In addition, the | ||
130 | .Cm ProtocolKeepAlives | ||
131 | and | ||
132 | .Cm SetupTimeOut | ||
133 | options will both be set to 300 seconds by default. | ||
129 | This option is useful in scripts and other batch jobs where no user | 134 | This option is useful in scripts and other batch jobs where no user |
130 | is present to supply the password. | 135 | is present to supply the password, |
136 | and where it is desirable to detect a | ||
137 | broken network swiftly. | ||
131 | The argument must be | 138 | The argument must be |
132 | .Dq yes | 139 | .Dq yes |
133 | or | 140 | or |
@@ -354,7 +361,12 @@ identities will be tried in sequence. | |||
354 | Specifies whether the system should send TCP keepalive messages to the | 361 | Specifies whether the system should send TCP keepalive messages to the |
355 | other side. | 362 | other side. |
356 | If they are sent, death of the connection or crash of one | 363 | If they are sent, death of the connection or crash of one |
357 | of the machines will be properly noticed. | 364 | of the machines will be properly noticed. This option only uses TCP |
365 | keepalives (as opposed to using ssh level keepalives), so takes a long | ||
366 | time to notice when the connection dies. As such, you probably want | ||
367 | the | ||
368 | .Cm ProtocolKeepAlives | ||
369 | option as well. | ||
358 | However, this means that | 370 | However, this means that |
359 | connections will die if the route is down temporarily, and some people | 371 | connections will die if the route is down temporarily, and some people |
360 | find it annoying. | 372 | find it annoying. |
@@ -453,6 +465,13 @@ This means that | |||
453 | .Nm ssh | 465 | .Nm ssh |
454 | tries version 2 and falls back to version 1 | 466 | tries version 2 and falls back to version 1 |
455 | if version 2 is not available. | 467 | if version 2 is not available. |
468 | .It Cm ProtocolKeepAlives | ||
469 | Specifies the interval in seconds at which IGNORE packets will be sent to | ||
470 | the server during idle periods. Use this option in scripts to detect | ||
471 | when the network fails. The argument must be an integer. The default | ||
472 | is 0 (disabled), or 300 if the | ||
473 | .Cm BatchMode | ||
474 | option is set. | ||
456 | .It Cm ProxyCommand | 475 | .It Cm ProxyCommand |
457 | Specifies the command to use to connect to the server. | 476 | Specifies the command to use to connect to the server. |
458 | The command | 477 | The command |
@@ -541,6 +560,19 @@ running. | |||
541 | The default is | 560 | The default is |
542 | .Dq yes . | 561 | .Dq yes . |
543 | Note that this option applies to protocol version 1 only. | 562 | Note that this option applies to protocol version 1 only. |
563 | .It Cm SetupTimeOut | ||
564 | Normally, | ||
565 | .Nm ssh | ||
566 | blocks indefinitely whilst waiting to receive the ssh banner and other | ||
567 | setup protocol from the server, during the session setup. This can cause | ||
568 | .Nm ssh | ||
569 | to hang under certain circumstances. If this option is set, | ||
570 | .Nm ssh | ||
571 | will give up if no data from the server is received for the specified | ||
572 | number of seconds. The argument must be an integer. The default is 0 | ||
573 | (disabled), or 300 if | ||
574 | .Cm BatchMode | ||
575 | is set. | ||
544 | .It Cm SmartcardDevice | 576 | .It Cm SmartcardDevice |
545 | Specifies which smartcard device to use. The argument to this keyword is | 577 | Specifies which smartcard device to use. The argument to this keyword is |
546 | the device | 578 | the device |