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 3f4906972..3079db19b 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -266,9 +266,13 @@ If set to | |||
266 | .Cm yes , | 266 | .Cm yes , |
267 | user interaction such as password prompts and host key confirmation requests | 267 | user interaction such as password prompts and host key confirmation requests |
268 | will be disabled. | 268 | will be disabled. |
269 | In addition, the | ||
270 | .Cm ServerAliveInterval | ||
271 | option will be set to 300 seconds by default (Debian-specific). | ||
269 | This option is useful in scripts and other batch jobs where no user | 272 | This option is useful in scripts and other batch jobs where no user |
270 | is present to interact with | 273 | is present to interact with |
271 | .Xr ssh 1 . | 274 | .Xr ssh 1 , |
275 | and where it is desirable to detect a broken network swiftly. | ||
272 | The argument must be | 276 | The argument must be |
273 | .Cm yes | 277 | .Cm yes |
274 | or | 278 | or |
@@ -1593,7 +1597,14 @@ from the server, | |||
1593 | will send a message through the encrypted | 1597 | will send a message through the encrypted |
1594 | channel to request a response from the server. | 1598 | channel to request a response from the server. |
1595 | The default | 1599 | The default |
1596 | is 0, indicating that these messages will not be sent to the server. | 1600 | is 0, indicating that these messages will not be sent to the server, |
1601 | or 300 if the | ||
1602 | .Cm BatchMode | ||
1603 | option is set (Debian-specific). | ||
1604 | .Cm ProtocolKeepAlives | ||
1605 | and | ||
1606 | .Cm SetupTimeOut | ||
1607 | are Debian-specific compatibility aliases for this option. | ||
1597 | .It Cm SetEnv | 1608 | .It Cm SetEnv |
1598 | Directly specify one or more environment variables and their contents to | 1609 | Directly specify one or more environment variables and their contents to |
1599 | be sent to the server. | 1610 | be sent to the server. |
@@ -1673,6 +1684,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1673 | other side. | 1684 | other side. |
1674 | If they are sent, death of the connection or crash of one | 1685 | If they are sent, death of the connection or crash of one |
1675 | of the machines will be properly noticed. | 1686 | of the machines will be properly noticed. |
1687 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1688 | keepalives), so takes a long time to notice when the connection dies. | ||
1689 | As such, you probably want | ||
1690 | the | ||
1691 | .Cm ServerAliveInterval | ||
1692 | option as well. | ||
1676 | However, this means that | 1693 | However, this means that |
1677 | connections will die if the route is down temporarily, and some people | 1694 | connections will die if the route is down temporarily, and some people |
1678 | find it annoying. | 1695 | find it annoying. |