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 e2a2359f9..85ab7447f 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -266,9 +266,13 @@ If set to
266.Cm yes , 266.Cm yes ,
267user interaction such as password prompts and host key confirmation requests 267user interaction such as password prompts and host key confirmation requests
268will be disabled. 268will be disabled.
269In addition, the
270.Cm ServerAliveInterval
271option will be set to 300 seconds by default (Debian-specific).
269This option is useful in scripts and other batch jobs where no user 272This option is useful in scripts and other batch jobs where no user
270is present to interact with 273is present to interact with
271.Xr ssh 1 . 274.Xr ssh 1 ,
275and where it is desirable to detect a broken network swiftly.
272The argument must be 276The argument must be
273.Cm yes 277.Cm yes
274or 278or
@@ -1604,7 +1608,14 @@ from the server,
1604will send a message through the encrypted 1608will send a message through the encrypted
1605channel to request a response from the server. 1609channel to request a response from the server.
1606The default 1610The default
1607is 0, indicating that these messages will not be sent to the server. 1611is 0, indicating that these messages will not be sent to the server,
1612or 300 if the
1613.Cm BatchMode
1614option is set (Debian-specific).
1615.Cm ProtocolKeepAlives
1616and
1617.Cm SetupTimeOut
1618are Debian-specific compatibility aliases for this option.
1608.It Cm SetEnv 1619.It Cm SetEnv
1609Directly specify one or more environment variables and their contents to 1620Directly specify one or more environment variables and their contents to
1610be sent to the server. 1621be sent to the server.
@@ -1684,6 +1695,12 @@ Specifies whether the system should send TCP keepalive messages to the
1684other side. 1695other side.
1685If they are sent, death of the connection or crash of one 1696If they are sent, death of the connection or crash of one
1686of the machines will be properly noticed. 1697of the machines will be properly noticed.
1698This option only uses TCP keepalives (as opposed to using ssh level
1699keepalives), so takes a long time to notice when the connection dies.
1700As such, you probably want
1701the
1702.Cm ServerAliveInterval
1703option as well.
1687However, this means that 1704However, this means that
1688connections will die if the route is down temporarily, and some people 1705connections will die if the route is down temporarily, and some people
1689find it annoying. 1706find it annoying.