summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorRichard Kettlewell <rjk@greenend.org.uk>2014-02-09 16:09:52 +0000
committerColin Watson <cjwatson@debian.org>2014-02-10 02:40:15 +0000
commit043f937820e1152df2c8416f37e6c8d923fc1811 (patch)
tree99b263192c6e897f9365f653acdcd65d6283791d /ssh_config.5
parent9f42d3b964854aecfed2fff64ac375c0c4805fa5 (diff)
Various keepalive extensions
Add compatibility aliases for ProtocolKeepAlives and SetupTimeOut, supported in previous versions of Debian's OpenSSH package but since superseded by ServerAliveInterval. (We're probably stuck with this bit for compatibility.) In batch mode, default ServerAliveInterval to five minutes. Adjust documentation to match and to give some more advice on use of keepalives. Author: Ian Jackson <ian@chiark.greenend.org.uk> Author: Matthew Vernon <matthew@debian.org> Author: Colin Watson <cjwatson@debian.org> Last-Update: 2013-09-14 Patch-Name: keepalive-extensions.patch
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 617a312d0..b3c5dc614 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -205,8 +205,12 @@ Valid arguments are
205If set to 205If set to
206.Dq yes , 206.Dq yes ,
207passphrase/password querying will be disabled. 207passphrase/password querying will be disabled.
208In addition, the
209.Cm ServerAliveInterval
210option will be set to 300 seconds by default.
208This option is useful in scripts and other batch jobs where no user 211This option is useful in scripts and other batch jobs where no user
209is present to supply the password. 212is present to supply the password,
213and where it is desirable to detect a broken network swiftly.
210The argument must be 214The argument must be
211.Dq yes 215.Dq yes
212or 216or
@@ -1299,8 +1303,15 @@ from the server,
1299will send a message through the encrypted 1303will send a message through the encrypted
1300channel to request a response from the server. 1304channel to request a response from the server.
1301The default 1305The default
1302is 0, indicating that these messages will not be sent to the server. 1306is 0, indicating that these messages will not be sent to the server,
1307or 300 if the
1308.Cm BatchMode
1309option is set.
1303This option applies to protocol version 2 only. 1310This option applies to protocol version 2 only.
1311.Cm ProtocolKeepAlives
1312and
1313.Cm SetupTimeOut
1314are Debian-specific compatibility aliases for this option.
1304.It Cm StrictHostKeyChecking 1315.It Cm StrictHostKeyChecking
1305If this flag is set to 1316If this flag is set to
1306.Dq yes , 1317.Dq yes ,
@@ -1339,6 +1350,12 @@ Specifies whether the system should send TCP keepalive messages to the
1339other side. 1350other side.
1340If they are sent, death of the connection or crash of one 1351If they are sent, death of the connection or crash of one
1341of the machines will be properly noticed. 1352of the machines will be properly noticed.
1353This option only uses TCP keepalives (as opposed to using ssh level
1354keepalives), so takes a long time to notice when the connection dies.
1355As such, you probably want
1356the
1357.Cm ServerAliveInterval
1358option as well.
1342However, this means that 1359However, this means that
1343connections will die if the route is down temporarily, and some people 1360connections will die if the route is down temporarily, and some people
1344find it annoying. 1361find it annoying.