[root@hadoop2 etc]# cat issueCentOS release 6.8 (Final)Kernel \r on an \m[root@hadoop2 etc]# cat hosts.allow ## hosts.allow This file contains access rules which are used to# allow or deny connecti...
通过配置hosts.allow、hosts.deny,控制SSH限制固定IP登陆按照以往的方法,分别在hosts.allow、hosts.deny加入以下配置# more /etc/hosts.allowsshd:192.168.x.x# more /etc/hosts.denysshd:all保存后测试,发现配置...