相关疑难解决方法(0)

为什么我的 sshd 日志显示对无效端口的多次尝试?

我的 ssh 守护进程设置为侦听端口 2221。我还禁用了 ssh 的 root 登录。

我不明白为什么在auth.log我看到尝试登录其他端口(此处为 4627 的示例)。

May 17 15:36:04 srv01 sshd[21682]: PAM service(sshd) ignoring max retries; 6 > 3
May 17 15:36:08 srv01 sshd[21706]: User root from 218.10.19.134 not allowed because none of user's groups are listed in AllowGroups
May 17 15:36:08 srv01 sshd[21706]: input_userauth_request: invalid user root [preauth]
May 17 15:36:10 srv01 sshd[21706]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.10.19.134  user=root
May 17 15:36:12 srv01 sshd[21706]: Failed password for invalid …
Run Code Online (Sandbox Code Playgroud)

ssh authentication logs

10
推荐指数
2
解决办法
2万
查看次数

标签 统计

authentication ×1

logs ×1

ssh ×1