您的位置:首页 > 其它

ubuntu安装好后 ssh进入出错 access denied

2015-08-18 12:48 399 查看
http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04

Simply adding a password for root is not enough for Ubuntu 14.04 Server.

You also need to edit
/etc/ssh/sshd_config
,
and comment out the following line:
PermitRootLogin without-password


Just below it, add the following line:
PermitRootLogin yes


Then restart SSH:
service ssh restart
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: