访问被拒绝,你可能没有权限或未登录。

Linux 屎诗级 ssh 登陆漏洞

Rei · November 06, 2026 · Last by mingyuan0715 replied at November 06, 2026 · 90 hits

HN 讨论:https://news.ycombinator.com/item?id=50378228

满足以下情况可以用任意 256 位以上密码登陆账号:

  • sshd 使用 musl 编译(通常是 Apline)
  • 未使用 PAM
  • 已启用密码登录
  • 至少有一个账户的密码“哈希”为“*”
  • 至少还有一个具有有效密码的其他帐户

受影响的快去关闭密码登陆: sshd_config 文件中设置 PasswordAuthentication no

ssh 根本就不敢开密码登录。被爆破过好几次了。

You need to Sign in before reply, if you don't have an account, please Sign up first.