H3C配置console口账号和密码
[H3C]user-interface console 0
authentication-mode scheme
[H3C]local-user admin
password simple admin
authorization-attribute user-role network-admin
service-type terminal
service-type conlse
service-type ssh
service-type telnet
[H3C]super password role network-admin simple admin
开telnet方法:
[H3C]user-interface vty 0 4
authentication-mode scheme
[H3C]local-user admin
password simple admin
authorization-attribute user-role network-admin
service-type telnet
[H3C]telnet service enable
[H3C]super password role network-admin simple admin
ssh配置方法:
[H3C]public-key local create rsa
#生成rsa密钥对
The range of public key modulus is (512 ~ 2048).
If the key modulus is greater than 512, it will take a few minutes.
Press CTRL+C to abort.
Input the modulus length [default = 1024]:
Generating Keys....
Create the key pair successfully.
[H3C]ssh server enable
//开启ssh服务
[H3C]line vty 0 4
[H3C-line-vty0-4]authentication-mode scheme
[H3C-line-vty0-4]protocol inbound ssh
[H3C-line-vty0-4]quit
[H3C]local-user admin
[H3C-luser-manage-sshlient]password simple admin
[H3C-luser-manage-sshlient]service-type ssh
[H3C-luser-manage-sshlient]authorization-attribute user-role network-admin
H3C简单的console和telnet和ssh开启和账号密码登陆配置
于 2022-03-25 13:19:31 首次发布