![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
Koevas
这个作者很懒,什么都没留下…
展开
-
SELinux拦截sshd导致ssh连接失败的问题: {execmem}没有权限
问题描述:近日服务器ssh无法通过远程连接上去,连接时服务器的SELiunx发起警报sshd被拦截问题排查:1.重启sshd服务systemctl restart sshd2.查看sshd的运行状态systemctl status sshdsshd.service failed发现sshd进程启动失败,但从这里看不出失败的原因3.查看linux系统日志cat /var/log/messages翻到最末尾端,发现一条有用的信息:/usr/sbin/sshd: error原创 2020-09-26 13:17:57 · 3561 阅读 · 0 评论 -
解决Centos7 Mini 版 ifconfig command not found问题
安装完Centos7 最简版后无法使用ifconfig输入ifconfig报错ifconfig command not found通过搜资料发现,ifconfig命令属于net-tools包,需要安装此包。但是当我尝试下载时,连不上网啊,刚安装的系统什么也没配啊。于是先去配一下网卡。按照往常的方法,默认配置/etc/sysconfig/network-scripts/ifcfg-eth...原创 2019-07-27 11:19:13 · 528 阅读 · 0 评论