码迷,mamicode.com
首页 > 系统相关 > 详细

【Ubuntu14.04】允许root以ssh登录

时间:2015-07-06 20:03:30      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:ubuntu 14.04 root ssh

// 修改配置文件

root@localhost:~# vi /etc/ssh/sshd_config 

root@localhost:~#


// 注释调原来的,改成新的 ‘yes’

# Authentication:

LoginGraceTime 120

#PermitRootLogin without-password

PermitRootLogin yes

StrictModes yes


RSAAuthentication yes

PubkeyAuthentication yes


// 重启ssh服务

root@localhost:~# service ssh restart 

root@localhost:~#


【Ubuntu14.04】允许root以ssh登录

标签:ubuntu 14.04 root ssh

原文地址:http://huangchao.blog.51cto.com/10446378/1671358

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!