summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-12-17 16:33:10 +1100
committerDamien Miller <djm@mindrot.org>2003-12-17 16:33:10 +1100
commit509b0107f0e67cb4af663c147179d35fa6425614 (patch)
treeb4662caa51b3ac22533e03221a7fdc886ed27619 /ssh_config.5
parentbaafb981a46d79e576b340dab436c17415f0033a (diff)
- markus@cvs.openbsd.org 2003/12/16 15:49:51
[clientloop.c clientloop.h readconf.c readconf.h scp.1 sftp.1 ssh.1] [ssh.c ssh_config.5] application layer keep alive (ServerAliveInterval ServerAliveCountMax) for ssh(1), similar to the sshd(8) option; ok beck@; with help from jmc and dtucker@
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.538
1 files changed, 37 insertions, 1 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index cb26eab69..210da059b 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: ssh_config.5,v 1.27 2003/12/14 12:37:21 markus Exp $ 37.\" $OpenBSD: ssh_config.5,v 1.28 2003/12/16 15:49:51 markus Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSH_CONFIG 5 39.Dt SSH_CONFIG 5
40.Os 40.Os
@@ -552,6 +552,42 @@ running.
552The default is 552The default is
553.Dq yes . 553.Dq yes .
554Note that this option applies to protocol version 1 only. 554Note that this option applies to protocol version 1 only.
555.It Cm ServerAliveInterval
556Sets a timeout interval in seconds after which if no data has been received
557from the server,
558.Nm ssh
559will send a message through the encrypted
560channel to request a response from the server.
561The default
562is 0, indicating that these messages will not be sent to the server.
563This option applies to protocol version 2 only.
564.It Cm ServerAliveCountMax
565Sets the number of server alive messages (see above) which may be
566sent without
567.Nm ssh
568receiving any messages back from the server.
569If this threshold is reached while server alive messages are being sent,
570.Nm ssh
571will disconnect from the server, terminating the session.
572It is important to note that the use of server alive messages is very
573different from
574.Cm TCPKeepAlive
575(below).
576The server alive messages are sent through the encrypted channel
577and therefore will not be spoofable.
578The TCP keepalive option enabled by
579.Cm TCPKeepAlive
580is spoofable.
581The server alive mechanism is valuable when the client or
582server depend on knowing when a connection has become inactive.
583.Pp
584The default value is 3.
585If, for example,
586.Cm ServerAliveInterval
587(above) is set to 15, and
588.Cm ServerAliveCountMax
589is left at the default, if the server becomes unresponsive ssh
590will disconnect after approximately 45 seconds.
555.It Cm SmartcardDevice 591.It Cm SmartcardDevice
556Specifies which smartcard device to use. 592Specifies which smartcard device to use.
557The argument to this keyword is the device 593The argument to this keyword is the device