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 e2a2359f9..85ab7447f 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 |
@@ -1604,7 +1608,14 @@ from the server, | |||
1604 | will send a message through the encrypted | 1608 | will send a message through the encrypted |
1605 | channel to request a response from the server. | 1609 | channel to request a response from the server. |
1606 | The default | 1610 | The default |
1607 | is 0, indicating that these messages will not be sent to the server. | 1611 | is 0, indicating that these messages will not be sent to the server, |
1612 | or 300 if the | ||
1613 | .Cm BatchMode | ||
1614 | option is set (Debian-specific). | ||
1615 | .Cm ProtocolKeepAlives | ||
1616 | and | ||
1617 | .Cm SetupTimeOut | ||
1618 | are Debian-specific compatibility aliases for this option. | ||
1608 | .It Cm SetEnv | 1619 | .It Cm SetEnv |
1609 | Directly specify one or more environment variables and their contents to | 1620 | Directly specify one or more environment variables and their contents to |
1610 | be sent to the server. | 1621 | be sent to the server. |
@@ -1684,6 +1695,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1684 | other side. | 1695 | other side. |
1685 | If they are sent, death of the connection or crash of one | 1696 | If they are sent, death of the connection or crash of one |
1686 | of the machines will be properly noticed. | 1697 | of the machines will be properly noticed. |
1698 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1699 | keepalives), so takes a long time to notice when the connection dies. | ||
1700 | As such, you probably want | ||
1701 | the | ||
1702 | .Cm ServerAliveInterval | ||
1703 | option as well. | ||
1687 | However, this means that | 1704 | However, this means that |
1688 | connections will die if the route is down temporarily, and some people | 1705 | connections will die if the route is down temporarily, and some people |
1689 | find it annoying. | 1706 | find it annoying. |