Ubuntu 14.04 为 root 帐号开启 SSH 登录
来源:互联网 发布:闲来麻将源码 编辑:程序博客网 时间:2024/04/27 13:53
Ubuntu 14.04 为 root 帐号开启 SSH 登录
1. 修改 root 密码
sudo passwd root
2. 以其他账户登录,通过 sudo nano 修改 /etc/ssh/sshd_config :
xxx@ubuntu14:~$ su - root
Password:
root@ubuntu14:~# vi /etc/ssh/sshd_config
3. 注释掉 #PermitRootLogin without-password,添加 PermitRootLogin ye
# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes
4. 重启 ssh 服务
root@ubuntu14:~# sudo service ssh restart
ssh stop/waiting
ssh start/running, process 1499
root@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用户登录
- nginx介绍(一) 简介篇
- strlen(),strcpy(),strncpy(),strcat(),strncat(),strcmp(),strncmp()等函数的实现
- valueable document
- 一个密码怎样改变了我的人生
- PE文件结构(四) 输出表
- Ubuntu 14.04 为 root 帐号开启 SSH 登录
- 计数器和累加器的使用循环结构程序设计中的常见问题有2个以及解决方法
- CSS盒子的定位
- Ruby 正则表达式
- JVM参数配置
- BZOJ1003题解
- LeetCode Remove Duplicates from Sorted Array II
- 计算机经典书籍电子书合集
- 数据挖掘笔记-情感倾向点互信息算法