diff options
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 38 |
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. | |||
552 | The default is | 552 | The default is |
553 | .Dq yes . | 553 | .Dq yes . |
554 | Note that this option applies to protocol version 1 only. | 554 | Note that this option applies to protocol version 1 only. |
555 | .It Cm ServerAliveInterval | ||
556 | Sets a timeout interval in seconds after which if no data has been received | ||
557 | from the server, | ||
558 | .Nm ssh | ||
559 | will send a message through the encrypted | ||
560 | channel to request a response from the server. | ||
561 | The default | ||
562 | is 0, indicating that these messages will not be sent to the server. | ||
563 | This option applies to protocol version 2 only. | ||
564 | .It Cm ServerAliveCountMax | ||
565 | Sets the number of server alive messages (see above) which may be | ||
566 | sent without | ||
567 | .Nm ssh | ||
568 | receiving any messages back from the server. | ||
569 | If this threshold is reached while server alive messages are being sent, | ||
570 | .Nm ssh | ||
571 | will disconnect from the server, terminating the session. | ||
572 | It is important to note that the use of server alive messages is very | ||
573 | different from | ||
574 | .Cm TCPKeepAlive | ||
575 | (below). | ||
576 | The server alive messages are sent through the encrypted channel | ||
577 | and therefore will not be spoofable. | ||
578 | The TCP keepalive option enabled by | ||
579 | .Cm TCPKeepAlive | ||
580 | is spoofable. | ||
581 | The server alive mechanism is valuable when the client or | ||
582 | server depend on knowing when a connection has become inactive. | ||
583 | .Pp | ||
584 | The default value is 3. | ||
585 | If, for example, | ||
586 | .Cm ServerAliveInterval | ||
587 | (above) is set to 15, and | ||
588 | .Cm ServerAliveCountMax | ||
589 | is left at the default, if the server becomes unresponsive ssh | ||
590 | will disconnect after approximately 45 seconds. | ||
555 | .It Cm SmartcardDevice | 591 | .It Cm SmartcardDevice |
556 | Specifies which smartcard device to use. | 592 | Specifies which smartcard device to use. |
557 | The argument to this keyword is the device | 593 | The argument to this keyword is the device |