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 06db04c27..e41b34b15 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
@@ -371,7 +378,8 @@ token used for the session will be set to expire after 20 minutes.
371Remote clients will be refused access after this time. 378Remote clients will be refused access after this time.
372.Pp 379.Pp
373The default is 380The default is
374.Dq no . 381.Dq yes
382(Debian-specific).
375.Pp 383.Pp
376See the X11 SECURITY extension specification for full details on 384See the X11 SECURITY extension specification for full details on
377the restrictions imposed on untrusted clients. 385the restrictions imposed on untrusted clients.
@@ -718,8 +726,12 @@ from the server,
718will send a message through the encrypted 726will send a message through the encrypted
719channel to request a response from the server. 727channel to request a response from the server.
720The default 728The default
721is 0, indicating that these messages will not be sent to the server. 729is 0, indicating that these messages will not be sent to the server,
722This option applies to protocol version 2 only. 730or 300 if the
731.Cm BatchMode
732option is set.
733.Cm ProtocolKeepAlives
734is a Debian-specific compatibility alias for this option.
723.It Cm ServerAliveCountMax 735.It Cm ServerAliveCountMax
724Sets the number of server alive messages (see above) which may be 736Sets the number of server alive messages (see above) which may be
725sent without 737sent without
@@ -747,6 +759,26 @@ If, for example,
747.Cm ServerAliveCountMax 759.Cm ServerAliveCountMax
748is left at the default, if the server becomes unresponsive ssh 760is left at the default, if the server becomes unresponsive ssh
749will disconnect after approximately 45 seconds. 761will disconnect after approximately 45 seconds.
762This option works when using protocol version 2 only; in protocol version
7631 there is no mechanism to request a response from the server to the
764server alive messages, so disconnection is the responsibility of the TCP
765stack.
766.It Cm SetupTimeOut
767Normally,
768.Nm ssh
769blocks indefinitely whilst waiting to receive the ssh banner and other
770setup protocol from the server, during the session setup.
771This can cause
772.Nm ssh
773to hang under certain circumstances.
774If this option is set,
775.Nm ssh
776will give up if no data from the server is received for the specified
777number of seconds.
778The argument must be an integer.
779The default is 0 (disabled), or 300 if
780.Cm BatchMode
781is set.
750.It Cm SmartcardDevice 782.It Cm SmartcardDevice
751Specifies which smartcard device to use. 783Specifies which smartcard device to use.
752The argument to this keyword is the device 784The argument to this keyword is the device
@@ -794,6 +826,12 @@ Specifies whether the system should send TCP keepalive messages to the
794other side. 826other side.
795If they are sent, death of the connection or crash of one 827If they are sent, death of the connection or crash of one
796of the machines will be properly noticed. 828of the machines will be properly noticed.
829This option only uses TCP keepalives (as opposed to using ssh level
830keepalives), so takes a long time to notice when the connection dies.
831As such, you probably want
832the
833.Cm ServerAliveInterval
834option as well.
797However, this means that 835However, this means that
798connections will die if the route is down temporarily, and some people 836connections will die if the route is down temporarily, and some people
799find it annoying. 837find it annoying.