我的终端显示其他人的登录信息

我的终端显示其他人的登录信息

我实际上在 stack overflow 上问过同样的问题,社区说那里不适合。所以我会尝试在这里发布。

我使用 Windows 终端登录了我的 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,并且只使用公钥访问它,因此可以忽略几次攻击。我只是不想在控制台中看到这些信息。我该怎么办?

我在谷歌上搜索了“显示其他人登录信息的控制台”和变体,但没有得到有用的信息。

相关内容