连接华为交换机忘记主动关闭连接,会产生大量的垃圾日志
-
情况描述:
我用xterminal连接我的交换机,做完变更后,就没有管这个界面,交换机自动断开Vty连接,但是当我重新连接上去后,发现会出现xterminal会主动发起了1堆连接失败日志,别人还以为我对交换机发起了攻击
。。。
备注:SSH服务-高级配置-终端是否自动重连,这个我已经关闭了。
日志如下:
[HUAWEI-ACCESS-GigabitEthernet3/0/37]SSH connection has been disconnected.
Press Enter to reconnect...Info: The max number of VTY users is 10, and the number
of current VTY users on line is 1.
The current login time is 2025-05-16 14:11:43+08:00.
Info: Lastest accessed IP: 10.X.X.X Time: 2025-05-16 14:09:23+08:00 Password will expire in: -Info: Smart-upgrade is currently disabled. Enable Smart-upgrade to get recommended version information.
<HUAWEI-ACCESS>cd /
<HUAWEI-ACCESS>
<HUAWEI-ACCESS>dis log
<HUAWEI-ACCESS>dis logfile
<HUAWEI-ACCESS>dis logbuffer
Logging buffer configuration and contents : enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Dropped messages : 0
Overwritten messages : 4396
Current messages : 512May 16 2025 14:10:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[0]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 14:08:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[1]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 14:06:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[2]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 14:04:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[3]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 14:02:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[4]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 14:00:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[5]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:58:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[6]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:56:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[7]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:54:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[8]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:52:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[9]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:50:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[10]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:48:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[11]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:46:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[12]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:44:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[13]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:42:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[14]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:40:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[15]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
May 16 2025 13:38:20+08:00 HUAWEI-ACCESS %%01SSH/4/SSH_FAIL(s)[16]:Failed to login through SSH. (IP=10.X.X.X, VpnInstanceName= , UserName=aroma, Times=1, FailedReason=The user login timed out)
……下面还有一大堆