Ubuntu 14.04 为 root 帐号开启 SSH 登录
来源:互联网 发布:颜色特征提取算法 编辑:程序博客网 时间:2024/04/29 08:57
1. 修改 root 密码
sudo passwd root
2. 以其他账户登录,通过 sudo nano 修改 /etc/ssh/sshd_config :
xxx@ubuntu14:~$ su - rootPassword:root@ubuntu14:~# vi /etc/ssh/sshd_config
3. 注释掉 #PermitRootLogin without-password,添加 PermitRootLogin yes
# Authentication:LoginGraceTime 120#PermitRootLogin without-passwordPermitRootLogin yesStrictModes yes
4. 重启 ssh 服务
root@ubuntu14:~# sudo service ssh restartssh stop/waitingssh start/running, process 1499root@ubuntu14:~#
0 0
- Ubuntu 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为root帐号开启SSH登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Ubuntu 14.04 为 root 帐号开启 SSH 登录 启动的时候需要改的启动项类比centos
- Ubuntu 16.04使用root 帐号开启 SSH 登录
- 为ubuntu 开启ssh root用户登录
- ubuntu 14.04为root用户开启ssh登录
- Ubuntu 14.04开启ssh root用户登录
- 易經大意原稿(頁單位) 151-175
- ios 字符串判断代码
- arm ld link scrip编写
- 使用JS实现前端缓存
- quickcocos2dx xcode 6.3 中项目横屏设置
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- Java内存分配和String类型的深度解析***
- STL - map
- 易經大意原稿(頁單位) 126-150
- 朴素贝叶斯方法
- HTML打开Excel文件
- Java注释 基本的几个注释词应用
- OC-初始化方法-便利构造器(练习-约分)
- vs2008环境下,编写qt定时器小例子。