现场一台S7606-NP直连一台PC电脑
终端PC连接告警信息:
C: Users\admin>ssh admin@10.14.33.2
Received disconnect from 10.104.33.2 port 22:2: The connection is closed by SSH Server
Current FSM is SSH_Main_VersionMatch
Disconnected from 10.104.33.2 port 22
现场一台S7606-NP ,版本是Version 5.20 Release 6616P05,配置了SSH Server,现场一台终端电脑通过SSH登录到交换机,SSH失败。
现网配置:
#
local-user admin
password simple *********
authorization-attribute level 3
service-type ssh telnet terminal
#
[7506-NP]user-interface vty 0 15
[7506-NP-ui-vty0-15]dis this
user-interface aux 1/0
user-interface aux 2/0
user-interface vty 0 4
user privilege level 3
set authentication password simple *********
protocol inbound telnet
user-interface vty 5 15
authentication-mode scheme
protocol inbound ssh
#
怀疑是本地没有生成RSA密钥,在交换机上输入以下命令:public-key local create rsa
输入命令之后等一会,然后敲回车,发现创建不上,终端也不能登录。
查看设备诊断:发现设备flash空间满了
===============dir===============
=======================================
Directory of flash:/
0 -rw- 27512385 Sep 30 2013 02:08:55 s7500e-cmw520-r6616p05.app
1 drw- - Sep 30 2013 02:35:40 seclog
2 -rw- 35864 Nov 16 2023 15:45:46 startup.cfg
3 -rw- 151 Oct 17 2023 20:16:09 system.xml
4 -rw- 20005888 Feb 08 2023 02:43:28 h3csplusprobeqazws_11_2023_02_08_02_31_35.diag
5 -rw- 17496064 Nov 08 2023 02:51:34 h3csplusprobeqazws_11_2023_11_08_02_31_29.diag
64389 KB total (0 KB free)
把无用的诊断删除,腾出flash空间就能正常生成本地RSA密钥,终端SSH连接正常了。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作