[an error occurred while processing this directive][an error occurred while processing this directive]

authentication (Login)

Syntax

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

Hierarchy Level

[edit system login user username]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Description

Authentication methods that a user can use to log in to the router or switch. You can assign multiple authentication methods to a single user.

Options

encrypted-password "password"—Message Digest 5 (MD5) or other encrypted authentication. Specify the MD5 or other password. You can specify only one encrypted password for each user.

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 command-line interface (CLI) prompts you for the password and then encrypts it.

ssh-dsa "public-key"—SSH version 2 authentication. Specify the SSH public key. You can specify one or more public keys for each user.

ssh-rsa "public-key"—SSH version 1 and SSH version 2 authentication. Specify the SSH public key. You can specify one or more public keys for each user.

Required Privilege Level

admin—To view this statement in the configuration.

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


Published: 2010-04-26

[an error occurred while processing this directive]