ssh协议为了安全,有些版本默认禁止root用户的登陆

cd /etc/ssh

编辑sshd_config文件

cat sshd_config | grep PermitRootLogin

PermitRootLogin yes

完成之后重启服务

systemctl restart sshd  & service sshd restart

最新文章

  1. php中会话保持 session 与cooker
  2. oracle is not in the sudoers file. This incident will be reported.
  3. 非常郁闷的 .NET中程序集的动态加载
  4. Odoo Web Service API
  5. MYSQL中关于日期处理的函数
  6. [DFNews] 入侵汽车控制刹车和油门?——速度与激情6 的节奏?
  7. 通过微信分享链接,后面会被加上from=singlemessage&isappinstalled=1可能导致网页打不开
  8. C语言中使用静态函数的好处
  9. JS之DOM(二)
  10. Vmware中Ubuntu挂ISO到虚拟光驱
  11. ACM_基础知识(二)
  12. StringMVC POJO
  13. Swift延迟加载的一种用途
  14. Java 读书笔记 (二) 对象和类
  15. Asp.Net Core Options模式的知识总结
  16. c++ 的绝对值函数
  17. python+selenium—webdriver入门(二)
  18. 洛谷UVA12995 Farey Sequence(欧拉函数,线性筛)
  19. 4A
  20. UVAL 3942 Remember the Word(递推+Trie)

热门文章

  1. mysql数据库监控利器lepus天兔工具安装和部署
  2. HTTP协议详解(一)
  3. socket原理-基于UDP的套接字-基于TCP实现远程命令-粘包
  4. Confluence 6 配置避免管理员联系表单垃圾
  5. mouseover、mouseout与mouseenter、mouseleave
  6. vuex action 与mutations 的区别
  7. java多线程快速入门(二十)
  8. laravel zh-CN
  9. cf1076d 贪心最短路
  10. You are my brother