最佳答案
默认是关的,需要手工开
[H3C]ssh server enable
[H3C]public-key local create rsa
The local key pair already exists.
Confirm to replace it? [Y/N]:y
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]:
Generating Keys...
.
Created the key pair successfully.
[H3C]public-key local create dsa
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]:
Generating Keys...
.
Created the key pair successfully.
[H3C]ssh user admin service-type stelnet authentication-type password
[H3C]line vty 0 4
[H3C-line-vty0-4]user-role network-admin
[H3C-line-vty0-4]protocol inbound ssh //默认允许所有协议 all
[H3C-line-vty0-4]authentication-mode scheme
(0)
您好,请知:
dis version看下软件版本是多少。
如果没有ssh server enable命令,看下是否有stelnet server enable的命令。
其次指定ssh user看下。
如果版本比较老旧了,可考虑升级下。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论