SSH User
Requirements
- Serial connection to the switch
Tasks
-
Log in to the switch
-
Enter System Mode:
system-view
-
Enter Authentication, Authorization and Accounting (AAA):
aaa
-
Create local user:
local user sshadmin password irreversible-cipher Huawei@123
local user sshadmin level 3
quit
-
Enable ssh:
stelnet server enable
-
Add user to ssh:
ssh user sshadmin authentication-type password
ssh user sshadmin service-type stelnet
-
Add user interface:
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
-
SSH configurations:
ssh client first-time enable
ssh server ip-block disable
ssh server-source all-interface
-
User configurations:
local-aaa-user password policy administrator
undo password alert original
password expire 0
-
Save changes:
save