summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.539
1 files changed, 38 insertions, 1 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 7a435a90e..2ca7ce02f 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 ProtocolKeepAlives
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
@@ -395,6 +402,12 @@ Specifies whether the system should send TCP keepalive messages to the
395other side. 402other side.
396If they are sent, death of the connection or crash of one 403If they are sent, death of the connection or crash of one
397of the machines will be properly noticed. 404of the machines will be properly noticed.
405This option only uses TCP keepalives (as opposed to using ssh level
406keepalives), so takes a long time to notice when the connection dies.
407As such, you probably want
408the
409.Cm ProtocolKeepAlives
410option as well.
398However, this means that 411However, this means that
399connections will die if the route is down temporarily, and some people 412connections will die if the route is down temporarily, and some people
400find it annoying. 413find it annoying.
@@ -482,6 +495,14 @@ This means that
482.Nm ssh 495.Nm ssh
483tries version 2 and falls back to version 1 496tries version 2 and falls back to version 1
484if version 2 is not available. 497if version 2 is not available.
498.It Cm ProtocolKeepAlives
499Specifies the interval in seconds at which IGNORE packets will be sent to
500the server during idle periods.
501Use this option in scripts to detect when the network fails.
502The argument must be an integer.
503The default is 0 (disabled), or 300 if the
504.Cm BatchMode
505option is set.
485.It Cm ProxyCommand 506.It Cm ProxyCommand
486Specifies the command to use to connect to the server. 507Specifies the command to use to connect to the server.
487The command 508The command
@@ -553,6 +574,22 @@ running.
553The default is 574The default is
554.Dq yes . 575.Dq yes .
555Note that this option applies to protocol version 1 only. 576Note that this option applies to protocol version 1 only.
577.It Cm SetupTimeOut
578Normally,
579.Nm ssh
580blocks indefinitely whilst waiting to receive the ssh banner and other
581setup protocol from the server, during the session setup.
582This can cause
583.Nm ssh
584to hang under certain circumstances.
585If this option is set,
586.Nm ssh
587will give up if no data from the server is received for the specified
588number of seconds.
589The argument must be an integer.
590The default is 0 (disabled), or 300 if
591.Cm BatchMode
592is set.
556.It Cm SmartcardDevice 593.It Cm SmartcardDevice
557Specifies which smartcard device to use. 594Specifies which smartcard device to use.
558The argument to this keyword is the device 595The argument to this keyword is the device