1、配置ssh的管理接口
interface vlan-interface 1
ip add x.x.x.x 24 //客户端要配置同网段下的IP地址与其SSH连接
quit
2、开启ssh
ssh server enable
3、设置ssh客户端登录用户界面的认证方式为AAA认证
user-interface vty 0 4
authentication-mode scheme
4、设置远程用户登录协议为ssh
protocol inbound ssh
quit
5、创建用户(admin)并设置密码(admin@123456),协议为(ssh),设置级别为level-15
local-user admin
password simple admin@123456
service-type ssh
authorization-attribute user-role level-15
6、指定用户为admin的认证方式为password,服务类型为stelnet链接
ssh user admin service-type stelnet authentication-type password
命令:
interface vlan-interface 1
ip add X.X.X.X 24
quit
ssh server enable
user-interface vty 0 4
authentication-mode scheme
protocol inbound ssh
quit
local-user admin
password simple Admin@123456
service-type ssh
authorization-attribute user-role level-15
ssh user admin service-type stelnet authentication-type password
H3C telnet配置:
H3C(IRF(堆叠))配置: