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 44208b431..15b36f273 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 |
@@ -357,7 +364,12 @@ identities will be tried in sequence. | |||
357 | Specifies whether the system should send TCP keepalive messages to the | 364 | Specifies whether the system should send TCP keepalive messages to the |
358 | other side. | 365 | other side. |
359 | If they are sent, death of the connection or crash of one | 366 | If they are sent, death of the connection or crash of one |
360 | of the machines will be properly noticed. | 367 | of the machines will be properly noticed. This option only uses TCP |
368 | keepalives (as opposed to using ssh level keepalives), so takes a long | ||
369 | time to notice when the connection dies. As such, you probably want | ||
370 | the | ||
371 | .Cm ProtocolKeepAlives | ||
372 | option as well. | ||
361 | However, this means that | 373 | However, this means that |
362 | connections will die if the route is down temporarily, and some people | 374 | connections will die if the route is down temporarily, and some people |
363 | find it annoying. | 375 | find it annoying. |
@@ -457,6 +469,13 @@ This means that | |||
457 | .Nm ssh | 469 | .Nm ssh |
458 | tries version 2 and falls back to version 1 | 470 | tries version 2 and falls back to version 1 |
459 | if version 2 is not available. | 471 | if version 2 is not available. |
472 | .It Cm ProtocolKeepAlives | ||
473 | Specifies the interval in seconds at which IGNORE packets will be sent to | ||
474 | the server during idle periods. Use this option in scripts to detect | ||
475 | when the network fails. The argument must be an integer. The default | ||
476 | is 0 (disabled), or 300 if the | ||
477 | .Cm BatchMode | ||
478 | option is set. | ||
460 | .It Cm ProxyCommand | 479 | .It Cm ProxyCommand |
461 | Specifies the command to use to connect to the server. | 480 | Specifies the command to use to connect to the server. |
462 | The command | 481 | The command |
@@ -548,6 +567,19 @@ running. | |||
548 | The default is | 567 | The default is |
549 | .Dq yes . | 568 | .Dq yes . |
550 | Note that this option applies to protocol version 1 only. | 569 | Note that this option applies to protocol version 1 only. |
570 | .It Cm SetupTimeOut | ||
571 | Normally, | ||
572 | .Nm ssh | ||
573 | blocks indefinitely whilst waiting to receive the ssh banner and other | ||
574 | setup protocol from the server, during the session setup. This can cause | ||
575 | .Nm ssh | ||
576 | to hang under certain circumstances. If this option is set, | ||
577 | .Nm ssh | ||
578 | will give up if no data from the server is received for the specified | ||
579 | number of seconds. The argument must be an integer. The default is 0 | ||
580 | (disabled), or 300 if | ||
581 | .Cm BatchMode | ||
582 | is set. | ||
551 | .It Cm SmartcardDevice | 583 | .It Cm SmartcardDevice |
552 | Specifies which smartcard device to use. The argument to this keyword is | 584 | Specifies which smartcard device to use. The argument to this keyword is |
553 | the device | 585 | the device |