Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    root-authentication

    Syntax

    root-authentication {(encrypted-password "password" | plain-text-password);ssh-dsa "public-key";ssh-ecdsa "public-key";ssh-rsa "public-key";}

    Hierarchy Level

    [edit system]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    Description

    Configure the authentication methods for the root-level user, whose username is root.

    Options

    encrypted-password "password"— MD5 or other encrypted authentication. Specify the MD5 or other password. You can specify only one encrypted password.

    You cannot configure a blank password for encrypted-password using blank quotation marks (" "). You must configure a password whose number of characters range from 1 through 128 characters and enclose the password in quotation marks.

    plain-text-password—Plain-text password. The CLI prompts you for the password and then encrypts it. The CLI displays the encrypted version, and the software places the encrypted version in its user database. You can specify only one plain-text password.

    ssh-dsa "public-key"—SSH version 2 authentication. Specify the DSA (SSH version 2) public key. You can specify one or more public keys.

    ssh-rsa "public-key"—SSH version 1 authentication. Specify the RSA (SSH version 1 and SSH version 2) public key. You can specify one or more public keys.

    Required Privilege Level

    admin—To view this statement in the configuration.

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

    Published: 2012-12-07