Huawei Datacom Documentation

SSH User

Requirements

  • Serial connection to the switch

Tasks

  1. Log in to the switch
  1. Enter System Mode:

system-view

  1. Enter Authentication, Authorization and Accounting (AAA):

aaa

  1. Create local user:

local user sshadmin password irreversible-cipher Huawei@123 local user sshadmin level 3 quit

  1. Enable ssh:

stelnet server enable

  1. Add user to ssh:

ssh user sshadmin authentication-type password ssh user sshadmin service-type stelnet

  1. Add user interface:

user-interface vty 0 4 authentication-mode aaa protocol inbound ssh

  1. SSH configurations:

ssh client first-time enable ssh server ip-block disable ssh server-source all-interface

  1. User configurations:

local-aaa-user password policy administrator undo password alert original password expire 0

  1. Save changes:

save