小编Lic*_*epa的帖子

如何将 sshd 设置为需要私钥和密码?

如何将 sshd 设置为需要私钥和密码?

在 /etc/ssh/sshd_config 中,我目前有:

RSAAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication yes
Run Code Online (Sandbox Code Playgroud)

但显然这允许用户使用私钥或密码登录。

ubuntu ssh password private-key

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

password ×1

private-key ×1

ssh ×1

ubuntu ×1