刚安装了Ubuntu 14.04 server的虚拟机,普通帐号可以远程登录,但是root不行,输入密码后一直报错:
permission denied
最后发现ssh的配置(/etc/ssh/sshd_config)不大一样,14.04的默认配置是:
PermitRootLogin without-password
换成: PermitRootLogin yes
然后: restart ssh
刚安装了Ubuntu 14.04 server的虚拟机,普通帐号可以远程登录,但是root不行,输入密码后一直报错:
permission denied
最后发现ssh的配置(/etc/ssh/sshd_config)不大一样,14.04的默认配置是:
PermitRootLogin without-password
换成: PermitRootLogin yes
然后: restart ssh
上一篇:ubuntu14.04 中国源
下一篇:cobbler部署机器的默认密码
Ubuntu Server 14.04升级Ubuntu Server 16.04作者:chszs,未经博主允许不得
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M