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 44208b431..d0ea33918 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
@@ -358,6 +365,12 @@ Specifies whether the system should send TCP keepalive messages to the
358other side. 365other side.
359If they are sent, death of the connection or crash of one 366If they are sent, death of the connection or crash of one
360of the machines will be properly noticed. 367of the machines will be properly noticed.
368This option only uses TCP keepalives (as opposed to using ssh level
369keepalives), so takes a long time to notice when the connection dies.
370As such, you probably want
371the
372.Cm ProtocolKeepAlives
373option as well.
361However, this means that 374However, this means that
362connections will die if the route is down temporarily, and some people 375connections will die if the route is down temporarily, and some people
363find it annoying. 376find it annoying.
@@ -457,6 +470,14 @@ This means that
457.Nm ssh 470.Nm ssh
458tries version 2 and falls back to version 1 471tries version 2 and falls back to version 1
459if version 2 is not available. 472if version 2 is not available.
473.It Cm ProtocolKeepAlives
474Specifies the interval in seconds at which IGNORE packets will be sent to
475the server during idle periods.
476Use this option in scripts to detect when the network fails.
477The argument must be an integer.
478The default is 0 (disabled), or 300 if the
479.Cm BatchMode
480option is set.
460.It Cm ProxyCommand 481.It Cm ProxyCommand
461Specifies the command to use to connect to the server. 482Specifies the command to use to connect to the server.
462The command 483The command
@@ -548,6 +569,22 @@ running.
548The default is 569The default is
549.Dq yes . 570.Dq yes .
550Note that this option applies to protocol version 1 only. 571Note that this option applies to protocol version 1 only.
572.It Cm SetupTimeOut
573Normally,
574.Nm ssh
575blocks indefinitely whilst waiting to receive the ssh banner and other
576setup protocol from the server, during the session setup.
577This can cause
578.Nm ssh
579to hang under certain circumstances.
580If this option is set,
581.Nm ssh
582will give up if no data from the server is received for the specified
583number of seconds.
584The argument must be an integer.
585The default is 0 (disabled), or 300 if
586.Cm BatchMode
587is set.
551.It Cm SmartcardDevice 588.It Cm SmartcardDevice
552Specifies which smartcard device to use. The argument to this keyword is 589Specifies which smartcard device to use. The argument to this keyword is
553the device 590the device