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 16c79368a..54e143c93 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 |
@@ -1485,7 +1489,14 @@ from the server, | |||
1485 | will send a message through the encrypted | 1489 | will send a message through the encrypted |
1486 | channel to request a response from the server. | 1490 | channel to request a response from the server. |
1487 | The default | 1491 | The default |
1488 | is 0, indicating that these messages will not be sent to the server. | 1492 | is 0, indicating that these messages will not be sent to the server, |
1493 | or 300 if the | ||
1494 | .Cm BatchMode | ||
1495 | option is set (Debian-specific). | ||
1496 | .Cm ProtocolKeepAlives | ||
1497 | and | ||
1498 | .Cm SetupTimeOut | ||
1499 | are Debian-specific compatibility aliases for this option. | ||
1489 | .It Cm SetEnv | 1500 | .It Cm SetEnv |
1490 | Directly specify one or more environment variables and their contents to | 1501 | Directly specify one or more environment variables and their contents to |
1491 | be sent to the server. | 1502 | be sent to the server. |
@@ -1565,6 +1576,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1565 | other side. | 1576 | other side. |
1566 | If they are sent, death of the connection or crash of one | 1577 | If they are sent, death of the connection or crash of one |
1567 | of the machines will be properly noticed. | 1578 | of the machines will be properly noticed. |
1579 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1580 | keepalives), so takes a long time to notice when the connection dies. | ||
1581 | As such, you probably want | ||
1582 | the | ||
1583 | .Cm ServerAliveInterval | ||
1584 | option as well. | ||
1568 | However, this means that | 1585 | However, this means that |
1569 | connections will die if the route is down temporarily, and some people | 1586 | connections will die if the route is down temporarily, and some people |
1570 | find it annoying. | 1587 | find it annoying. |