编辑 /etc/ssh/sshd_config
,关闭以下和密码认证相关的选项:
PasswordAuthentication no
PermitEmptyPasswords no
KbdInteractiveAuthentication no
UsePAM no
Dec 09, 2024 • 预计阅读时间 1 分钟
编辑 /etc/ssh/sshd_config
,关闭以下和密码认证相关的选项:
PasswordAuthentication no
PermitEmptyPasswords no
KbdInteractiveAuthentication no
UsePAM no