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 f7510b6ce..21d3e9440 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 |
@@ -1425,8 +1429,15 @@ from the server, | |||
1425 | will send a message through the encrypted | 1429 | will send a message through the encrypted |
1426 | channel to request a response from the server. | 1430 | channel to request a response from the server. |
1427 | The default | 1431 | The default |
1428 | is 0, indicating that these messages will not be sent to the server. | 1432 | is 0, indicating that these messages will not be sent to the server, |
1433 | or 300 if the | ||
1434 | .Cm BatchMode | ||
1435 | option is set. | ||
1429 | This option applies to protocol version 2 only. | 1436 | This option applies to protocol version 2 only. |
1437 | .Cm ProtocolKeepAlives | ||
1438 | and | ||
1439 | .Cm SetupTimeOut | ||
1440 | are Debian-specific compatibility aliases for this option. | ||
1430 | .It Cm StreamLocalBindMask | 1441 | .It Cm StreamLocalBindMask |
1431 | Sets the octal file creation mode mask | 1442 | Sets the octal file creation mode mask |
1432 | .Pq umask | 1443 | .Pq umask |
@@ -1492,6 +1503,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1492 | other side. | 1503 | other side. |
1493 | If they are sent, death of the connection or crash of one | 1504 | If they are sent, death of the connection or crash of one |
1494 | of the machines will be properly noticed. | 1505 | of the machines will be properly noticed. |
1506 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1507 | keepalives), so takes a long time to notice when the connection dies. | ||
1508 | As such, you probably want | ||
1509 | the | ||
1510 | .Cm ServerAliveInterval | ||
1511 | option as well. | ||
1495 | However, this means that | 1512 | However, this means that |
1496 | connections will die if the route is down temporarily, and some people | 1513 | connections will die if the route is down temporarily, and some people |
1497 | find it annoying. | 1514 | find it annoying. |