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 82dcf0c08..f51715931 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 |
@@ -1479,8 +1483,15 @@ from the server, | |||
1479 | will send a message through the encrypted | 1483 | will send a message through the encrypted |
1480 | channel to request a response from the server. | 1484 | channel to request a response from the server. |
1481 | The default | 1485 | The default |
1482 | is 0, indicating that these messages will not be sent to the server. | 1486 | is 0, indicating that these messages will not be sent to the server, |
1487 | or 300 if the | ||
1488 | .Cm BatchMode | ||
1489 | option is set. | ||
1483 | This option applies to protocol version 2 only. | 1490 | This option applies to protocol version 2 only. |
1491 | .Cm ProtocolKeepAlives | ||
1492 | and | ||
1493 | .Cm SetupTimeOut | ||
1494 | are Debian-specific compatibility aliases for this option. | ||
1484 | .It Cm StreamLocalBindMask | 1495 | .It Cm StreamLocalBindMask |
1485 | Sets the octal file creation mode mask | 1496 | Sets the octal file creation mode mask |
1486 | .Pq umask | 1497 | .Pq umask |
@@ -1546,6 +1557,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1546 | other side. | 1557 | other side. |
1547 | If they are sent, death of the connection or crash of one | 1558 | If they are sent, death of the connection or crash of one |
1548 | of the machines will be properly noticed. | 1559 | of the machines will be properly noticed. |
1560 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1561 | keepalives), so takes a long time to notice when the connection dies. | ||
1562 | As such, you probably want | ||
1563 | the | ||
1564 | .Cm ServerAliveInterval | ||
1565 | option as well. | ||
1549 | However, this means that | 1566 | However, this means that |
1550 | connections will die if the route is down temporarily, and some people | 1567 | connections will die if the route is down temporarily, and some people |
1551 | find it annoying. | 1568 | find it annoying. |