Xshell连接Centos7无法输入密码
-
使用命令vi /etc/ssh/sshd_config
-
修改文件
-
在最后一行找到 PasswordAuthentication 改成yes
-
重新运行 systemctl restart sshd.service
-
Xshell切换 root 用户即可操作 su root
使用命令vi /etc/ssh/sshd_config
修改文件
在最后一行找到 PasswordAuthentication 改成yes
重新运行 systemctl restart sshd.service
Xshell切换 root 用户即可操作 su root