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 c3c8b274a..250c92d04 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -265,8 +265,12 @@ Valid arguments are | |||
265 | If set to | 265 | If set to |
266 | .Cm yes , | 266 | .Cm yes , |
267 | passphrase/password querying will be disabled. | 267 | passphrase/password querying will be disabled. |
268 | In addition, the | ||
269 | .Cm ServerAliveInterval | ||
270 | option will be set to 300 seconds by default (Debian-specific). | ||
268 | This option is useful in scripts and other batch jobs where no user | 271 | This option is useful in scripts and other batch jobs where no user |
269 | is present to supply the password. | 272 | is present to supply the password, |
273 | and where it is desirable to detect a broken network swiftly. | ||
270 | The argument must be | 274 | The argument must be |
271 | .Cm yes | 275 | .Cm yes |
272 | or | 276 | or |
@@ -1535,7 +1539,14 @@ from the server, | |||
1535 | will send a message through the encrypted | 1539 | will send a message through the encrypted |
1536 | channel to request a response from the server. | 1540 | channel to request a response from the server. |
1537 | The default | 1541 | The default |
1538 | is 0, indicating that these messages will not be sent to the server. | 1542 | is 0, indicating that these messages will not be sent to the server, |
1543 | or 300 if the | ||
1544 | .Cm BatchMode | ||
1545 | option is set (Debian-specific). | ||
1546 | .Cm ProtocolKeepAlives | ||
1547 | and | ||
1548 | .Cm SetupTimeOut | ||
1549 | are Debian-specific compatibility aliases for this option. | ||
1539 | .It Cm SetEnv | 1550 | .It Cm SetEnv |
1540 | Directly specify one or more environment variables and their contents to | 1551 | Directly specify one or more environment variables and their contents to |
1541 | be sent to the server. | 1552 | be sent to the server. |
@@ -1615,6 +1626,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1615 | other side. | 1626 | other side. |
1616 | If they are sent, death of the connection or crash of one | 1627 | If they are sent, death of the connection or crash of one |
1617 | of the machines will be properly noticed. | 1628 | of the machines will be properly noticed. |
1629 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1630 | keepalives), so takes a long time to notice when the connection dies. | ||
1631 | As such, you probably want | ||
1632 | the | ||
1633 | .Cm ServerAliveInterval | ||
1634 | option as well. | ||
1618 | However, this means that | 1635 | However, this means that |
1619 | connections will die if the route is down temporarily, and some people | 1636 | connections will die if the route is down temporarily, and some people |
1620 | find it annoying. | 1637 | find it annoying. |