Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] How to enable remote management access to CLI on EX switches



Article ID: KB10906 KB Last Updated: 21 Oct 2020Version: 7.0

Remote management access to a router is disabled by default and must be explicitly enabled. Only console access to the router is enabled in a default configuration. This restriction applies to all management access protocols such as telnet, ssh, and ftp.

This article describes the Telnet and SSH methods and the commands to enable them.




  • To enable a telnet session to the switch, type the following commands: 

user@switch# set system services telnet

Commit your changes.


The secure shell (SSH) provides secure encrypted communications over an insecure network and is therefore useful for switch management. The switch needs the Crypto package to enable the SSH service. The Crypto package is installed by default with the "domestic" JUNOS-ex software package. To verify that the Crypto package is installed, check the output of show version on the switch.

  • To enable secure session to the switch, use the following commands:

user@switch# set system services ssh

Commit your changes.

Both access methods allow users to control the number of allowed connections (connection-limit) and the number of allowed connections per minute (rate-limit).

For example:

user@switch# set system services telnet connection-limit 10 rate-limit 4
user@switch# set system services ssh connection-limit 10 rate-limit 4


Modification History:

2020-10-21: Article reviewed for accuracy; no changes made


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search