diff options
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index 44208b431..d0ea33918 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 |
@@ -358,6 +365,12 @@ 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. |
368 | This option only uses TCP keepalives (as opposed to using ssh level | ||
369 | keepalives), so takes a long time to notice when the connection dies. | ||
370 | As such, you probably want | ||
371 | the | ||
372 | .Cm ProtocolKeepAlives | ||
373 | option as well. | ||
361 | However, this means that | 374 | However, this means that |
362 | connections will die if the route is down temporarily, and some people | 375 | connections will die if the route is down temporarily, and some people |
363 | find it annoying. | 376 | find it annoying. |
@@ -457,6 +470,14 @@ This means that | |||
457 | .Nm ssh | 470 | .Nm ssh |
458 | tries version 2 and falls back to version 1 | 471 | tries version 2 and falls back to version 1 |
459 | if version 2 is not available. | 472 | if version 2 is not available. |
473 | .It Cm ProtocolKeepAlives | ||
474 | Specifies the interval in seconds at which IGNORE packets will be sent to | ||
475 | the server during idle periods. | ||
476 | Use this option in scripts to detect when the network fails. | ||
477 | The argument must be an integer. | ||
478 | The default is 0 (disabled), or 300 if the | ||
479 | .Cm BatchMode | ||
480 | option is set. | ||
460 | .It Cm ProxyCommand | 481 | .It Cm ProxyCommand |
461 | Specifies the command to use to connect to the server. | 482 | Specifies the command to use to connect to the server. |
462 | The command | 483 | The command |
@@ -548,6 +569,22 @@ running. | |||
548 | The default is | 569 | The default is |
549 | .Dq yes . | 570 | .Dq yes . |
550 | Note that this option applies to protocol version 1 only. | 571 | Note that this option applies to protocol version 1 only. |
572 | .It Cm SetupTimeOut | ||
573 | Normally, | ||
574 | .Nm ssh | ||
575 | blocks indefinitely whilst waiting to receive the ssh banner and other | ||
576 | setup protocol from the server, during the session setup. | ||
577 | This can cause | ||
578 | .Nm ssh | ||
579 | to hang under certain circumstances. | ||
580 | If this option is set, | ||
581 | .Nm ssh | ||
582 | will give up if no data from the server is received for the specified | ||
583 | number of seconds. | ||
584 | The argument must be an integer. | ||
585 | The default is 0 (disabled), or 300 if | ||
586 | .Cm BatchMode | ||
587 | is set. | ||
551 | .It Cm SmartcardDevice | 588 | .It Cm SmartcardDevice |
552 | Specifies which smartcard device to use. The argument to this keyword is | 589 | Specifies which smartcard device to use. The argument to this keyword is |
553 | the device | 590 | the device |