用putty提示Access denied或者用xshell提示服务器拒绝了密码。
单用户模式通过vnc设置ssh配置文件
输入:
vi /etc/ssh/sshd_config
找到PermitRootLogin without passwd
把它改为PermitRootLogin yes
如果有#号记得把#号去除。
然后保存退出,重启系统就好了。
转载请注明:落伍老站长 » debian10 root登录提示Access denied
用putty提示Access denied或者用xshell提示服务器拒绝了密码。
单用户模式通过vnc设置ssh配置文件
输入:
找到PermitRootLogin without passwd
把它改为PermitRootLogin yes
如果有#号记得把#号去除。
然后保存退出,重启系统就好了。
转载请注明:落伍老站长 » debian10 root登录提示Access denied