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 0e1a031e5..a8767b493 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
@@ -366,7 +373,8 @@ from stealing or tampering with data belonging to trusted X11
366clients. 373clients.
367.Pp 374.Pp
368The default is 375The default is
369.Dq no . 376.Dq yes
377(Debian-specific).
370.Pp 378.Pp
371See the X11 SECURITY extension specification for full details on 379See the X11 SECURITY extension specification for full details on
372the restrictions imposed on untrusted clients. 380the restrictions imposed on untrusted clients.
@@ -641,8 +649,12 @@ from the server,
641will send a message through the encrypted 649will send a message through the encrypted
642channel to request a response from the server. 650channel to request a response from the server.
643The default 651The default
644is 0, indicating that these messages will not be sent to the server. 652is 0, indicating that these messages will not be sent to the server,
645This option applies to protocol version 2 only. 653or 300 if the
654.Cm BatchMode
655option is set.
656.Cm ProtocolKeepAlives
657is a Debian-specific compatibility alias for this option.
646.It Cm ServerAliveCountMax 658.It Cm ServerAliveCountMax
647Sets the number of server alive messages (see above) which may be 659Sets the number of server alive messages (see above) which may be
648sent without 660sent without
@@ -670,6 +682,26 @@ If, for example,
670.Cm ServerAliveCountMax 682.Cm ServerAliveCountMax
671is left at the default, if the server becomes unresponsive ssh 683is left at the default, if the server becomes unresponsive ssh
672will disconnect after approximately 45 seconds. 684will disconnect after approximately 45 seconds.
685This option works when using protocol version 2 only; in protocol version
6861 there is no mechanism to request a response from the server to the
687server alive messages, so disconnection is the responsibility of the TCP
688stack.
689.It Cm SetupTimeOut
690Normally,
691.Nm ssh
692blocks indefinitely whilst waiting to receive the ssh banner and other
693setup protocol from the server, during the session setup.
694This can cause
695.Nm ssh
696to hang under certain circumstances.
697If this option is set,
698.Nm ssh
699will give up if no data from the server is received for the specified
700number of seconds.
701The argument must be an integer.
702The default is 0 (disabled), or 300 if
703.Cm BatchMode
704is set.
673.It Cm SmartcardDevice 705.It Cm SmartcardDevice
674Specifies which smartcard device to use. 706Specifies which smartcard device to use.
675The argument to this keyword is the device 707The argument to this keyword is the device
@@ -717,6 +749,12 @@ Specifies whether the system should send TCP keepalive messages to the
717other side. 749other side.
718If they are sent, death of the connection or crash of one 750If they are sent, death of the connection or crash of one
719of the machines will be properly noticed. 751of the machines will be properly noticed.
752This option only uses TCP keepalives (as opposed to using ssh level
753keepalives), so takes a long time to notice when the connection dies.
754As such, you probably want
755the
756.Cm ServerAliveInterval
757option as well.
720However, this means that 758However, this means that
721connections will die if the route is down temporarily, and some people 759connections will die if the route is down temporarily, and some people
722find it annoying. 760find it annoying.