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 710c068c5..20bba1502 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
@@ -544,6 +563,19 @@ running.
544The default is 563The default is
545.Dq yes . 564.Dq yes .
546Note that this option applies to protocol version 1 only. 565Note that this option applies to protocol version 1 only.
566.It Cm SetupTimeOut
567Normally,
568.Nm ssh
569blocks indefinitely whilst waiting to receive the ssh banner and other
570setup protocol from the server, during the session setup. This can cause
571.Nm ssh
572to hang under certain circumstances. If this option is set,
573.Nm ssh
574will give up if no data from the server is received for the specified
575number of seconds. The argument must be an integer. The default is 0
576(disabled), or 300 if
577.Cm BatchMode
578is set.
547.It Cm SmartcardDevice 579.It Cm SmartcardDevice
548Specifies which smartcard device to use. The argument to this keyword is 580Specifies which smartcard device to use. The argument to this keyword is
549the device 581the device