< Home

ssh user authorization-cmd aaa

Function

The ssh user authorization-cmd aaa command sets the command line authorization for the specified SSH user.

The undo ssh user authorization-cmd aaa command restores the default setting.

Format

ssh user user-name authorization-cmd aaa

undo ssh user user-name authorization-cmd aaa

Parameters

Parameter Description Value
user-name Specifies the name of an SSH user. The value must be an existing administrator account.

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, SSH users are not authorized through the command line.

After the configuration of command line authorization changes, the new configuration takes effect in the next login.

This command is valid to SSH users authenticated through RSA or DSA. To the user authenticated through the login password, AAA defines whether the user needs to be authorized.

Example

# Configure the user "user1" to be authorized through the command line.

<sysname> system-view
[sysname] ssh user user1 authorization-cmd aaa
Info: Please make sure that the command line authorization method has been set for the user.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >