ssh authorization-type default

Function

The ssh authorization-type default command sets the authorization method for an SSH connection to AAA or Root.

The undo ssh authorization-type default command restores the authorization method.

By default, the authorization method for an SSH connection is AAA.

Format

ssh authorization-type default { aaa | root }

undo ssh authorization-type default

Parameters

Parameter Description Value
aaa

Sets the authorization method for an SSH session as AAA.

-

root

Sets the authorization method for an SSH session as Root.

-

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server write

Usage Guidelines

If the authorization type for an SSH connection is AAA, the privilege level of SSH user is that configured in the AAA view.

If the authorization type for an SSH connection is root, the privilege level of SSH user is different from that configured in the AAA view. In this situation, the privilege level is the maximum value, 15 or 3.

This command takes effect for both ipv4 and ipv6 connections.

Example

# Set the authorization method for SSH session as AAA.
<HUAWEI> system-view
[~HUAWEI] ssh authorization-type default aaa
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >