summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.521
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
265If set to 265If set to
266.Cm yes , 266.Cm yes ,
267passphrase/password querying will be disabled. 267passphrase/password querying will be disabled.
268In addition, the
269.Cm ServerAliveInterval
270option will be set to 300 seconds by default (Debian-specific).
268This option is useful in scripts and other batch jobs where no user 271This option is useful in scripts and other batch jobs where no user
269is present to supply the password. 272is present to supply the password,
273and where it is desirable to detect a broken network swiftly.
270The argument must be 274The argument must be
271.Cm yes 275.Cm yes
272or 276or
@@ -1557,7 +1561,14 @@ from the server,
1557will send a message through the encrypted 1561will send a message through the encrypted
1558channel to request a response from the server. 1562channel to request a response from the server.
1559The default 1563The default
1560is 0, indicating that these messages will not be sent to the server. 1564is 0, indicating that these messages will not be sent to the server,
1565or 300 if the
1566.Cm BatchMode
1567option is set (Debian-specific).
1568.Cm ProtocolKeepAlives
1569and
1570.Cm SetupTimeOut
1571are Debian-specific compatibility aliases for this option.
1561.It Cm SetEnv 1572.It Cm SetEnv
1562Directly specify one or more environment variables and their contents to 1573Directly specify one or more environment variables and their contents to
1563be sent to the server. 1574be sent to the server.
@@ -1637,6 +1648,12 @@ Specifies whether the system should send TCP keepalive messages to the
1637other side. 1648other side.
1638If they are sent, death of the connection or crash of one 1649If they are sent, death of the connection or crash of one
1639of the machines will be properly noticed. 1650of the machines will be properly noticed.
1651This option only uses TCP keepalives (as opposed to using ssh level
1652keepalives), so takes a long time to notice when the connection dies.
1653As such, you probably want
1654the
1655.Cm ServerAliveInterval
1656option as well.
1640However, this means that 1657However, this means that
1641connections will die if the route is down temporarily, and some people 1658connections will die if the route is down temporarily, and some people
1642find it annoying. 1659find it annoying.