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@123local user sshadmin level 3quit -
Enable ssh:
stelnet server enable -
Add user to ssh:
ssh user sshadmin authentication-type passwordssh user sshadmin service-type stelnet -
Add user interface:
user-interface vty 0 4authentication-mode aaaprotocol inbound ssh -
SSH configurations:
ssh client first-time enablessh server ip-block disablessh server-source all-interface -
User configurations:
local-aaa-user password policy administratorundo password alert originalpassword expire 0 -
Save changes:
save