Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

ssh (NETCONF)

Syntax

Hierarchy Level

Description

Enable access to the NETCONF SSH subsystem using the default port number 830, as specified by RFC 4742.

Options

client-alive-count-max number

(Optional) Threshold of client-alive responses that can be missed before the sshd process disconnects the client, thereby terminating the NETCONF session. Use this statement in conjunction with the client-alive-interval statement to disconnect unresponsive NETCONF clients.

  • Default: 3

  • Range: 0 through 255

client-alive-inteval seconds

(Optional) Timeout interval in seconds, after which, if no data has been received from the client, the sshd process sends a message through the encrypted channel to request a response from the client. Use this statement in conjunction with the client-alive-count-max statement to disconnect unresponsive NETCONF clients. This option applies to SSH protocol version 2 only.

  • Default: 0 seconds

  • Range: 0 through 65535 seconds

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 7.5.

client-alive-count-max and client-alive-interval options added in Junos OS Release 21.1R1 and Junos OS Evolved Release 21.4R1.