中兴交换机配置SSH登录

        SSH是在传统的Telnet协议基础上发展起来的一种安全的远程登录协议。发送和接收数据时, SSH会自动对数据进行加密及解密。相比于Telnet,SSH能防止“中间人”攻击、DNS欺骗、IP 欺骗等,无论是在认证方式或者数据传输的安全性上都有很大的提高。 SSH用户认证方式有3种,分别为本地(Local)认证、RADIUS认证和TACACS+认证。以表规划数据为例,说明配置SSH登录的步骤。

配置认证方式为Local认证的SSH用户登录 

1.全局配置模式下开启SSH功能。
ZXR10(config)#ssh server enable

2.配置AAA认证,配置用户认证方式为Local认证。
ZXR10(config)#aaa-authentication-template 2100
ZXR10(config-aaa-authen-template)#aaa-authentication-type local 
/*配置认证方式为Local认证*/
ZXR10(config-aaa-authen-template)#exit

3.配置用户管理模板并将AAA模板绑定到用户管理模板
ZXR10(config)#system-user
ZXR10(config-system-user)#authentication-template 100
ZXR10(config-system-user-authen-temp)#bind aaa-authentication-template 2100 
ZXR10(config-system-user-authen-temp)#exit

4.创建用户,配置用户名、密码并绑定相应的模板。
ZXR10(config)#system-user
ZXR10(config-system-user)#default-privilege-level 0 
ZXR10(config-system-user)#user-name zte
ZXR10(config-system-user-username)#bind authentication-template 100
ZXR10(config-system-user-username)#password ZTEzte_123
ZXR10(config-system-user-username)#exit

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

1是才怪

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值