diff options
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index cac8cdaa7..78e918a0e 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -233,8 +233,12 @@ Valid arguments are | |||
233 | If set to | 233 | If set to |
234 | .Dq yes , | 234 | .Dq yes , |
235 | passphrase/password querying will be disabled. | 235 | passphrase/password querying will be disabled. |
236 | In addition, the | ||
237 | .Cm ServerAliveInterval | ||
238 | option will be set to 300 seconds by default. | ||
236 | This option is useful in scripts and other batch jobs where no user | 239 | This option is useful in scripts and other batch jobs where no user |
237 | is present to supply the password. | 240 | is present to supply the password, |
241 | and where it is desirable to detect a broken network swiftly. | ||
238 | The argument must be | 242 | The argument must be |
239 | .Dq yes | 243 | .Dq yes |
240 | or | 244 | or |
@@ -1476,8 +1480,15 @@ from the server, | |||
1476 | will send a message through the encrypted | 1480 | will send a message through the encrypted |
1477 | channel to request a response from the server. | 1481 | channel to request a response from the server. |
1478 | The default | 1482 | The default |
1479 | is 0, indicating that these messages will not be sent to the server. | 1483 | is 0, indicating that these messages will not be sent to the server, |
1484 | or 300 if the | ||
1485 | .Cm BatchMode | ||
1486 | option is set. | ||
1480 | This option applies to protocol version 2 only. | 1487 | This option applies to protocol version 2 only. |
1488 | .Cm ProtocolKeepAlives | ||
1489 | and | ||
1490 | .Cm SetupTimeOut | ||
1491 | are Debian-specific compatibility aliases for this option. | ||
1481 | .It Cm StreamLocalBindMask | 1492 | .It Cm StreamLocalBindMask |
1482 | Sets the octal file creation mode mask | 1493 | Sets the octal file creation mode mask |
1483 | .Pq umask | 1494 | .Pq umask |
@@ -1543,6 +1554,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1543 | other side. | 1554 | other side. |
1544 | If they are sent, death of the connection or crash of one | 1555 | If they are sent, death of the connection or crash of one |
1545 | of the machines will be properly noticed. | 1556 | of the machines will be properly noticed. |
1557 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1558 | keepalives), so takes a long time to notice when the connection dies. | ||
1559 | As such, you probably want | ||
1560 | the | ||
1561 | .Cm ServerAliveInterval | ||
1562 | option as well. | ||
1546 | However, this means that | 1563 | However, this means that |
1547 | connections will die if the route is down temporarily, and some people | 1564 | connections will die if the route is down temporarily, and some people |
1548 | find it annoying. | 1565 | find it annoying. |