summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.546
1 files changed, 42 insertions, 4 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 05581ece4..0fd3ea5f8 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -127,8 +127,15 @@ Valid arguments are
127If set to 127If set to
128.Dq yes , 128.Dq yes ,
129passphrase/password querying will be disabled. 129passphrase/password querying will be disabled.
130In addition, the
131.Cm ServerAliveInterval
132and
133.Cm SetupTimeOut
134options will both be set to 300 seconds by default.
130This option is useful in scripts and other batch jobs where no user 135This option is useful in scripts and other batch jobs where no user
131is present to supply the password. 136is present to supply the password,
137and where it is desirable to detect a
138broken network swiftly.
132The argument must be 139The argument must be
133.Dq yes 140.Dq yes
134or 141or
@@ -323,7 +330,8 @@ from stealing or tampering with data belonging to trusted X11
323clients. 330clients.
324.Pp 331.Pp
325The default is 332The default is
326.Dq no . 333.Dq yes
334(Debian-specific).
327.Pp 335.Pp
328See the X11 SECURITY extension specification for full details on 336See the X11 SECURITY extension specification for full details on
329the restrictions imposed on untrusted clients. 337the restrictions imposed on untrusted clients.
@@ -577,8 +585,12 @@ from the server,
577will send a message through the encrypted 585will send a message through the encrypted
578channel to request a response from the server. 586channel to request a response from the server.
579The default 587The default
580is 0, indicating that these messages will not be sent to the server. 588is 0, indicating that these messages will not be sent to the server,
581This option applies to protocol version 2 only. 589or 300 if the
590.Cm BatchMode
591option is set.
592.Cm ProtocolKeepAlives
593is a Debian-specific compatibility alias for this option.
582.It Cm ServerAliveCountMax 594.It Cm ServerAliveCountMax
583Sets the number of server alive messages (see above) which may be 595Sets the number of server alive messages (see above) which may be
584sent without 596sent without
@@ -606,6 +618,26 @@ If, for example,
606.Cm ServerAliveCountMax 618.Cm ServerAliveCountMax
607is left at the default, if the server becomes unresponsive ssh 619is left at the default, if the server becomes unresponsive ssh
608will disconnect after approximately 45 seconds. 620will disconnect after approximately 45 seconds.
621This option works when using protocol version 2 only; in protocol version
6221 there is no mechanism to request a response from the server to the
623server alive messages, so disconnection is the responsibility of the TCP
624stack.
625.It Cm SetupTimeOut
626Normally,
627.Nm ssh
628blocks indefinitely whilst waiting to receive the ssh banner and other
629setup protocol from the server, during the session setup.
630This can cause
631.Nm ssh
632to hang under certain circumstances.
633If this option is set,
634.Nm ssh
635will give up if no data from the server is received for the specified
636number of seconds.
637The argument must be an integer.
638The default is 0 (disabled), or 300 if
639.Cm BatchMode
640is set.
609.It Cm SmartcardDevice 641.It Cm SmartcardDevice
610Specifies which smartcard device to use. 642Specifies which smartcard device to use.
611The argument to this keyword is the device 643The argument to this keyword is the device
@@ -653,6 +685,12 @@ Specifies whether the system should send TCP keepalive messages to the
653other side. 685other side.
654If they are sent, death of the connection or crash of one 686If they are sent, death of the connection or crash of one
655of the machines will be properly noticed. 687of the machines will be properly noticed.
688This option only uses TCP keepalives (as opposed to using ssh level
689keepalives), so takes a long time to notice when the connection dies.
690As such, you probably want
691the
692.Cm ServerAliveInterval
693option as well.
656However, this means that 694However, this means that
657connections will die if the route is down temporarily, and some people 695connections will die if the route is down temporarily, and some people
658find it annoying. 696find it annoying.