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 5b99921b4..86ada128e 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -247,8 +247,12 @@ Valid arguments are | |||
247 | If set to | 247 | If set to |
248 | .Cm yes , | 248 | .Cm yes , |
249 | passphrase/password querying will be disabled. | 249 | passphrase/password querying will be disabled. |
250 | In addition, the | ||
251 | .Cm ServerAliveInterval | ||
252 | option will be set to 300 seconds by default (Debian-specific). | ||
250 | This option is useful in scripts and other batch jobs where no user | 253 | This option is useful in scripts and other batch jobs where no user |
251 | is present to supply the password. | 254 | is present to supply the password, |
255 | and where it is desirable to detect a broken network swiftly. | ||
252 | The argument must be | 256 | The argument must be |
253 | .Cm yes | 257 | .Cm yes |
254 | or | 258 | or |
@@ -1463,7 +1467,14 @@ from the server, | |||
1463 | will send a message through the encrypted | 1467 | will send a message through the encrypted |
1464 | channel to request a response from the server. | 1468 | channel to request a response from the server. |
1465 | The default | 1469 | The default |
1466 | is 0, indicating that these messages will not be sent to the server. | 1470 | is 0, indicating that these messages will not be sent to the server, |
1471 | or 300 if the | ||
1472 | .Cm BatchMode | ||
1473 | option is set (Debian-specific). | ||
1474 | .Cm ProtocolKeepAlives | ||
1475 | and | ||
1476 | .Cm SetupTimeOut | ||
1477 | are Debian-specific compatibility aliases for this option. | ||
1467 | .It Cm SetEnv | 1478 | .It Cm SetEnv |
1468 | Directly specify one or more environment variables and their contents to | 1479 | Directly specify one or more environment variables and their contents to |
1469 | be sent to the server. | 1480 | be sent to the server. |
@@ -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. |