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 bd86d000c..3ceb800ba 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -275,9 +275,13 @@ If set to
275.Cm yes , 275.Cm yes ,
276user interaction such as password prompts and host key confirmation requests 276user interaction such as password prompts and host key confirmation requests
277will be disabled. 277will be disabled.
278In addition, the
279.Cm ServerAliveInterval
280option will be set to 300 seconds by default (Debian-specific).
278This option is useful in scripts and other batch jobs where no user 281This option is useful in scripts and other batch jobs where no user
279is present to interact with 282is present to interact with
280.Xr ssh 1 . 283.Xr ssh 1 ,
284and where it is desirable to detect a broken network swiftly.
281The argument must be 285The argument must be
282.Cm yes 286.Cm yes
283or 287or
@@ -1624,7 +1628,14 @@ from the server,
1624will send a message through the encrypted 1628will send a message through the encrypted
1625channel to request a response from the server. 1629channel to request a response from the server.
1626The default 1630The default
1627is 0, indicating that these messages will not be sent to the server. 1631is 0, indicating that these messages will not be sent to the server,
1632or 300 if the
1633.Cm BatchMode
1634option is set (Debian-specific).
1635.Cm ProtocolKeepAlives
1636and
1637.Cm SetupTimeOut
1638are Debian-specific compatibility aliases for this option.
1628.It Cm SetEnv 1639.It Cm SetEnv
1629Directly specify one or more environment variables and their contents to 1640Directly specify one or more environment variables and their contents to
1630be sent to the server. 1641be sent to the server.
@@ -1704,6 +1715,12 @@ Specifies whether the system should send TCP keepalive messages to the
1704other side. 1715other side.
1705If they are sent, death of the connection or crash of one 1716If they are sent, death of the connection or crash of one
1706of the machines will be properly noticed. 1717of the machines will be properly noticed.
1718This option only uses TCP keepalives (as opposed to using ssh level
1719keepalives), so takes a long time to notice when the connection dies.
1720As such, you probably want
1721the
1722.Cm ServerAliveInterval
1723option as well.
1707However, this means that 1724However, this means that
1708connections will die if the route is down temporarily, and some people 1725connections will die if the route is down temporarily, and some people
1709find it annoying. 1726find it annoying.