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 ac05a0cea..67fa0845c 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
@@ -354,7 +361,12 @@ identities will be tried in sequence.
354Specifies whether the system should send TCP keepalive messages to the 361Specifies whether the system should send TCP keepalive messages to the
355other side. 362other side.
356If they are sent, death of the connection or crash of one 363If they are sent, death of the connection or crash of one
357of the machines will be properly noticed. 364of the machines will be properly noticed. This option only uses TCP
365keepalives (as opposed to using ssh level keepalives), so takes a long
366time to notice when the connection dies. As such, you probably want
367the
368.Cm ProtocolKeepAlives
369option as well.
358However, this means that 370However, this means that
359connections will die if the route is down temporarily, and some people 371connections will die if the route is down temporarily, and some people
360find it annoying. 372find it annoying.
@@ -453,6 +465,13 @@ This means that
453.Nm ssh 465.Nm ssh
454tries version 2 and falls back to version 1 466tries version 2 and falls back to version 1
455if version 2 is not available. 467if version 2 is not available.
468.It Cm ProtocolKeepAlives
469Specifies the interval in seconds at which IGNORE packets will be sent to
470the server during idle periods. Use this option in scripts to detect
471when the network fails. The argument must be an integer. The default
472is 0 (disabled), or 300 if the
473.Cm BatchMode
474option is set.
456.It Cm ProxyCommand 475.It Cm ProxyCommand
457Specifies the command to use to connect to the server. 476Specifies the command to use to connect to the server.
458The command 477The command
@@ -541,6 +560,19 @@ running.
541The default is 560The default is
542.Dq yes . 561.Dq yes .
543Note that this option applies to protocol version 1 only. 562Note that this option applies to protocol version 1 only.
563.It Cm SetupTimeOut
564Normally,
565.Nm ssh
566blocks indefinitely whilst waiting to receive the ssh banner and other
567setup protocol from the server, during the session setup. This can cause
568.Nm ssh
569to hang under certain circumstances. If this option is set,
570.Nm ssh
571will give up if no data from the server is received for the specified
572number of seconds. The argument must be an integer. The default is 0
573(disabled), or 300 if
574.Cm BatchMode
575is set.
544.It Cm SmartcardDevice 576.It Cm SmartcardDevice
545Specifies which smartcard device to use. The argument to this keyword is 577Specifies which smartcard device to use. The argument to this keyword is
546the device 578the device