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
and comment out the following line:
Just below it, add the following line:
Then restart SSH:
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
相关文章推荐
- Java多线程实践之—终结
- Effective C++ 条款4 确定对象被使用前已被初始化
- 编写高质量代码改善C#程序的157个建议——建议69:应使用finally避免资源泄漏
- Windows下使用VNC连接CentOS7远程桌面
- hadoop2.7.1+nutch2.3+mongodb+solr5.2.1的单机配置
- 《精通hibernate:java持久化...》---持久化类
- 上蓝翔
- [LeetCode] Two Sum
- 使用grep实现精确过滤的五种方法
- 使用grep实现精确过滤的五种方法
- 基于Java的拼图游戏
- poj 2001
- 通过SSH连接linux服务器
- PHP 一致性哈希算法的一种简单实现
- 数组实现邻接表
- iOS之 Category 属性 的理解
- C#实现将类的内容写成JSON格式字符串的方法
- WCF和ASP.NET Web API
- PDF转换成txt文档的转换方法
- 补:小玩文件2--将文本文件中的所有行加上行号后写到新文件中