summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.536
1 files changed, 34 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 44208b431..15b36f273 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -126,8 +126,15 @@ This option applies to protocol version 1 only.
126If set to 126If set to
127.Dq yes , 127.Dq yes ,
128passphrase/password querying will be disabled. 128passphrase/password querying will be disabled.
129In addition, the
130.Cm ProtocolKeepAlives
131and
132.Cm SetupTimeOut
133options will both be set to 300 seconds by default.
129This option is useful in scripts and other batch jobs where no user 134This option is useful in scripts and other batch jobs where no user
130is present to supply the password. 135is present to supply the password,
136and where it is desirable to detect a
137broken network swiftly.
131The argument must be 138The argument must be
132.Dq yes 139.Dq yes
133or 140or
@@ -357,7 +364,12 @@ identities will be tried in sequence.
357Specifies whether the system should send TCP keepalive messages to the 364Specifies whether the system should send TCP keepalive messages to the
358other side. 365other side.
359If they are sent, death of the connection or crash of one 366If they are sent, death of the connection or crash of one
360of the machines will be properly noticed. 367of the machines will be properly noticed. This option only uses TCP
368keepalives (as opposed to using ssh level keepalives), so takes a long
369time to notice when the connection dies. As such, you probably want
370the
371.Cm ProtocolKeepAlives
372option as well.
361However, this means that 373However, this means that
362connections will die if the route is down temporarily, and some people 374connections will die if the route is down temporarily, and some people
363find it annoying. 375find it annoying.
@@ -457,6 +469,13 @@ This means that
457.Nm ssh 469.Nm ssh
458tries version 2 and falls back to version 1 470tries version 2 and falls back to version 1
459if version 2 is not available. 471if version 2 is not available.
472.It Cm ProtocolKeepAlives
473Specifies the interval in seconds at which IGNORE packets will be sent to
474the server during idle periods. Use this option in scripts to detect
475when the network fails. The argument must be an integer. The default
476is 0 (disabled), or 300 if the
477.Cm BatchMode
478option is set.
460.It Cm ProxyCommand 479.It Cm ProxyCommand
461Specifies the command to use to connect to the server. 480Specifies the command to use to connect to the server.
462The command 481The command
@@ -548,6 +567,19 @@ running.
548The default is 567The default is
549.Dq yes . 568.Dq yes .
550Note that this option applies to protocol version 1 only. 569Note that this option applies to protocol version 1 only.
570.It Cm SetupTimeOut
571Normally,
572.Nm ssh
573blocks indefinitely whilst waiting to receive the ssh banner and other
574setup protocol from the server, during the session setup. This can cause
575.Nm ssh
576to hang under certain circumstances. If this option is set,
577.Nm ssh
578will give up if no data from the server is received for the specified
579number of seconds. The argument must be an integer. The default is 0
580(disabled), or 300 if
581.Cm BatchMode
582is set.
551.It Cm SmartcardDevice 583.It Cm SmartcardDevice
552Specifies which smartcard device to use. The argument to this keyword is 584Specifies which smartcard device to use. The argument to this keyword is
553the device 585the device