[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Keepalive Messages

To enable the router to send SSH protocol keepalive messages to the client application, configure the keep-alive statement at the [edit system services outbound-ssh client client-id] hierarchy level:

[edit system services outbound-ssh client client-id]
keep-alive {
retry number;
timeout seconds;
}

The timeout option specifies how long the router waits to receive data before sending a request for acknowledgment from the application. The default is 15 seconds.

The retry option specifies how many keepalive messages the router sends without receiving a response from the client. When that number is exceeded, the router disconnects from the application, ending the outbound SSH connection. The default is three retries.


[Contents] [Prev] [Next] [Index] [Report an Error]