~ubuntu-branches/ubuntu/edgy/openssh/edgy

« back to all changes in this revision

Viewing changes to ssh_config.5

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2004-10-07 18:03:06 UTC
  • Revision ID: james.westby@ubuntu.com-20041007180306-0l8ii961txetbucx
Tags: 1:3.8.1p1-11ubuntu3
* Nathaniel McCallum:
  - debian/openssh-server.init: pretty initscript
  - debian/control: versioned depend on lsb-base

Show diffs side-by-side

added added

removed removed

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