< Home

ssh user authorization-cmd aaa

Function

The ssh user authorization-cmd aaa command enables command line authorization for an SSH user.

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

By default, command line authorization is disabled for an SSH user.

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 a valid SSH user defined by the AAA. The value is a string of 1 to 64 case-insensitive characters without spaces.

Views

System view

Default Level

3: Management level

Usage Guidelines

The new setting for command line authorization takes effect upon next login.

This command is valid only for SSH users. The AAA configuration determines whether to configure an authorization mode for the users who log in using passwords.

Example

# Enable command line authorization for the user named John.

<HUAWEI> system-view
[HUAWEI] ssh user john 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 >