Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

ssh (NETCONF)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
ssh {
    client-alive-count-max number;
    client-alive-interval seconds;
    connection-limit limit;
    port port-number;
    rate-limit limit;
}

Hierarchy Level

content_copy zoom_out_map
[edit system services netconf] 

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.

footer-navigation