在Linux系统上限制远程登录的IP

在Linux系统上限制远程登录的IP,使用系统自带的配置文件。

/etc/hosts.allow

/etc/hosts.deny

匹配原则  先allow 后deny.

原文地址:https://www.cnblogs.com/lin1/p/5581058.html