lastb | awk '{print $3}' | sort | uniq -c | sort -nr | awk '$1>20{print $0}'| awk '{print "sshd:"$2":deny"}' >> /etc/hosts.deny
11-02
2030
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-10
12-08
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-13
8192
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)