找到 /etc/ssh/sshd_config 文件,打开它:
vim /etc/ssh/sshd_config
找到 PasswordAuthentication no 项目,将 no 修改为 yes
然后重启服务器
上一篇 dos命令大全(还在更新中)
下一篇 Linux下安装Redis
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号