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 f4668673b..bc04d8d02 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 |
@@ -1557,7 +1561,14 @@ from the server, | |||
1557 | will send a message through the encrypted | 1561 | will send a message through the encrypted |
1558 | channel to request a response from the server. | 1562 | channel to request a response from the server. |
1559 | The default | 1563 | The default |
1560 | is 0, indicating that these messages will not be sent to the server. | 1564 | is 0, indicating that these messages will not be sent to the server, |
1565 | or 300 if the | ||
1566 | .Cm BatchMode | ||
1567 | option is set (Debian-specific). | ||
1568 | .Cm ProtocolKeepAlives | ||
1569 | and | ||
1570 | .Cm SetupTimeOut | ||
1571 | are Debian-specific compatibility aliases for this option. | ||
1561 | .It Cm SetEnv | 1572 | .It Cm SetEnv |
1562 | Directly specify one or more environment variables and their contents to | 1573 | Directly specify one or more environment variables and their contents to |
1563 | be sent to the server. | 1574 | be sent to the server. |
@@ -1637,6 +1648,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
1637 | other side. | 1648 | other side. |
1638 | If they are sent, death of the connection or crash of one | 1649 | If they are sent, death of the connection or crash of one |
1639 | of the machines will be properly noticed. | 1650 | of the machines will be properly noticed. |
1651 | This option only uses TCP keepalives (as opposed to using ssh level | ||
1652 | keepalives), so takes a long time to notice when the connection dies. | ||
1653 | As such, you probably want | ||
1654 | the | ||
1655 | .Cm ServerAliveInterval | ||
1656 | option as well. | ||
1640 | However, this means that | 1657 | However, this means that |
1641 | connections will die if the route is down temporarily, and some people | 1658 | connections will die if the route is down temporarily, and some people |
1642 | find it annoying. | 1659 | find it annoying. |