最佳答案
SSH 127.0.0.1 试试可以登陆吗 保证网络可达
【附】V7设备SSH配置:
[H3C]public-key local create rsa
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...
.
Create 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...
....
Create the key pair successfully.
[H3C]ssh ser enable
[H3C]loc
[H3C]local-user admin001
New local user added.
[H3C-luser-manage-admin]password simple admin001
[H3C-luser-manage-admin]service-type ssh
[H3C-luser-manage-admin]authorization-attribute user-role network-admin
[H3C]ssh user admin001 service-type stelnet authentication-type password
[H3C]line vty 0 63
[H3C-line-vty0-63]authentication-mode scheme
(0)
您好,请知:
以下是SSH的关键配置点,请参考:
2、创建管理员账号,并赋予最高权限,仅允许SSH登录
[H3C]local-user admin
New local user added.
[H3C-luser-manage-admin]password simple admin
[H3C-luser-manage-admin]service-type ssh
[H3C-luser-manage-admin]authorization-attribute user-role network-admin
[H3C-luser-manage-admin]quit
4、开启SSH功能
[H3C]ssh server enable
5、在VTY调用本地用户登录
[H3C]line vty 0 4
[H3C-line-vty0-4]authentication-mode scheme
[H3C-line-vty0-4]protocol inbound ssh
[H3C-line-vty0-4]quit
具体需确认路由器是否能PING通。
同时检查下是否配置了ACL对特定的主机进行了登录访问,然后与SSH应用到了一起。
以下是SR6600系列的用户手册,请参考:
https://www.h3c.com/cn/Service/Document_Software/Document_Center/Routers/Catalog/SR_Router/SR6600/
(1)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论