ssh采用加密协议,想对于Telnet更加安全跟可靠,
而且有等保的时候只能采用ssh,提高设备管理安全性。
华为参考配置步骤
1,生成本地密钥对
rsa local-key-pair create
The key name will be: Auotnavi-callcenter-01_Host
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes
Input the bits in the modulus[default = 512]:1024
Generating keys…
.++++++
…++++++
…++++++++
.++++++++
2,配置VTY用户界面
user-interface vty 0 3
authentication-mde aaa
protocol inbound ssh
3,创建ssh用户和密码
aaa
local-user admin password cipher xxxxxxxx
local-user admin privilege level 15
local-user admin service-type ssh
4,配置ssh用户的认证方式和服务方式
ssh user admin authentication-type password
ssh user admin service-type stelnet
5,激活ssh服务
stelnet server enable
6,查看命令
dis ssh server status
看到 stelnet server: Enable说明配置正确
7,用软件连接登录查看是否正确。
我是"不白写" 我真的是太有文化了!