Related Documentation
- EX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- M Series
- Configuring SSH Service for Remote Access to the Router or Switch
- MX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- PTX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- QFX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- T Series
- Configuring SSH Service for Remote Access to the Router or Switch
root-login
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Description
Control user access through SSH.
Default
Allow user access through SSH.
Options
allow—Allow users to log in to the router or switch as root through SSH.
deny—Disable users from logging in to the router or switch as root through SSH.
deny-password—Allow users to log in to the router or switch as root through SSH when the authentication method (for example, RSA authentication) does not require a password.
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Related Documentation
- EX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- M Series
- Configuring SSH Service for Remote Access to the Router or Switch
- MX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- PTX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- QFX Series
- Configuring SSH Service for Remote Access to the Router or Switch
- T Series
- Configuring SSH Service for Remote Access to the Router or Switch

