登录Ubuntu是只提示public key登录解决方案

来源:互联网 发布:广联达相关软件 编辑:程序博客网 时间:2024/04/29 06:53
#编辑sshd_config文件
sudo vim /etc/ssh/sshd_config

#启用密码验证
PasswordAuthentication yes

#关闭密钥验证
RSAAuthentication noPubkeyAuthentication no


0 0