当前位置:   article > 正文

H3C简单的console和telnet和ssh开启和账号密码登陆配置_super password role network-admin

super password role network-admin
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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/155890
推荐阅读
相关标签
  

闽ICP备14008679号