H3C交换机设置SSH/telnet登录
interface vlan-interface 1
ip address 192.168.120.250 255.255.255.0
生成RSA及DSA密钥对
public-key local create rsa
public-key local create dsa
ssh server enable
设置SSH/telnet用户认证方式
user-interface vty 0 4
authentication-mode scheme
protocol inbound ssh
创建ssh/telnet用户
local-user admin
password simple 52xxx@
service-type ssh
authorization-attribute level 1
ssh user admin service-type stelnet authentication-type password
设置超级密码
super password level 3 cipher 52xxx!@
网友评论