Debian 12服务器终端显示他人登录尝试日志的屏蔽方法求助
Debian 12服务器终端显示他人登录尝试日志的屏蔽方法求助
我之前在Stack Overflow问过同样的问题,社区说那个平台不适合讨论这个,所以来这儿试试。
我用Windows Terminal登录我的Debian 12服务器后,挂在那儿超过一小时,回来的时候发现终端里弹出了一堆黑客尝试连接我服务器的日志信息,内容大概是这样的:
[root@debian 22:49 linux-6.6.7] #2023 Dec 15 22:58:26 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:26 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:26 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:26 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:27 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:27 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:27 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:27 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:27 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:27 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:28 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:28 debian fatal: Timeout before authentication for ***.***.***.*** port ***** 2023 Dec 15 22:58:28 debian fatal: Timeout before authentication for ***.***.***.*** port *****
我服务器上已经装了fail2ban,而且只通过公钥认证登录,这些攻击其实都能被拦截下来,我就是不想在控制台里看到这些日志信息。
我搜了谷歌上类似“console showing others login info”的关键词,没找到有用的解决方案,想问问大家该怎么处理?
备注:内容来源于stack exchange,提问作者Akron Blim
相关产品推荐
相关产品推荐

