0
点赞
收藏
分享

微信扫一扫

H3C-配置Line接入方式

H3C-配置Line接入方式_远程管理

Console

# AAA - 用户接入方式
line con 0
 authentication-mode scheme
#
local-user NEWH3C class manage
 password simple H3C@MMS12ge**hao
 service-type terminal
# Password - 密码接入方式
user-interface console 0 # 某些系统版本不支持此方式
 authentication-mode password
 user-role network-admin
 set authentication password simple H3C@MMS12ge**hao

Telnet

# AAA - 用户接入方式
telnet server enable
#
line vty 0 4
 authentication-mode scheme
 user-role network-operator
 protocol inbound telnet
#
local-user H3C class manage
 password simple HCL@MMS3307
 service-type telnet

# Passwork - 密码接入方式
telnet server enable
#
line vty 0 4
 user-role network-operator
 set authentication password simple HCL@MMS3307
 protocol inbound telnet

SSH

# 创建密码,密码类型选择:RSA、DSA、ECDSA
public-key local create rsa、dsa、ecdsa
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]:2048
Generating Keys...
.
Created the key pair successfully.
#
line vty 0 4
 authentication-mode scheme
 protocol inbound ssh
#
local-user NEW-H3C class manage
 password hash H3C@MMS12ge**hao
 service-type ssh
[可选 - SSH用户类型、认证方式]ssh user NEW-H3C service-type  stelnet authentication-type password

举报

相关推荐

0 条评论