方法:在/etc/hosts.allow中加入允许的ip,并禁止其他ip
sshd:192.168.1.22:allow
sshd:ALL:deny
不需要修改/etc/hosts.deny
posted on 2015-03-02 16:32 零一积流 阅读(423) 评论(0) 编辑 收藏 举报