Rootop 服务器运维与web架构

shell通过正则获取ssh登录失败ip

[root@sych ~]# cat /var/log/secure | grep Failed | grep -o “[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}”

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/4211.html

作者:Venus

服务器运维与性能优化

评论已关闭。