家好,又见面了,我是你们的朋友全栈君。
ssh连接Ubuntu之access denied 解决方法是:
修改/etc/ssh/ssh_config文件,
#PermitRootLogin prohibit-password改为 PermitRootLogin yes PasswordAuthentication yes
最后,设置root的密码。passwd root。
重启ssh(/etc/init.d/ssh restart)之后就可以了。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/140774.html原文链接:https://javaforall.cn