root用户无法通过ssh连接Linux系统
2024-10-12 00:02:35
ssh协议为了安全,有些版本默认禁止root用户的登陆
cd /etc/ssh
编辑sshd_config文件
cat sshd_config | grep PermitRootLogin
PermitRootLogin yes
完成之后重启服务
systemctl restart sshd & service sshd restart
最新文章
- php中会话保持 session 与cooker
- oracle is not in the sudoers file. This incident will be reported.
- 非常郁闷的 .NET中程序集的动态加载
- Odoo Web Service API
- MYSQL中关于日期处理的函数
- [DFNews] 入侵汽车控制刹车和油门?——速度与激情6 的节奏?
- 通过微信分享链接,后面会被加上from=singlemessage&;isappinstalled=1可能导致网页打不开
- C语言中使用静态函数的好处
- JS之DOM(二)
- Vmware中Ubuntu挂ISO到虚拟光驱
- ACM_基础知识(二)
- StringMVC POJO
- Swift延迟加载的一种用途
- Java 读书笔记 (二) 对象和类
- Asp.Net Core Options模式的知识总结
- c++ 的绝对值函数
- python+selenium—webdriver入门(二)
- 洛谷UVA12995 Farey Sequence(欧拉函数,线性筛)
- 4A
- UVAL 3942 Remember the Word(递推+Trie)