- 使用命令vi /etc/ssh/sshd_config
- 修改文件
- 在最后一行找到 PasswordAuthentication 改成yes
- 重新运行 systemctl restart sshd.service
- Xshell切换 root 用户即可操作 su root
Original: https://www.cnblogs.com/rain-me/p/16596978.html
Author: 雨同我
Title: Xshell连接Centos7无法输入密码
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/621872/
转载文章受原作者版权保护。转载请注明原作者出处!