84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
如题。用 hosts 针对的是所有用户。貌似可以用配置 /etc/ssh/sshd_config 方式去限制。貌似也可以配置 iptables 去限制。但不知哪种方法更好?该如何配置。能否详细讲解?谢谢!
In view of LZ’s requirements, it is recommended to use sshd_config, iptables is not suitable.Configuration: AllowUsers wangshuo@172.31.11.237Note that after modification, restart the service: service sshd restart
In view of LZ’s requirements, it is recommended to use sshd_config, iptables is not suitable.
Configuration: AllowUsers wangshuo@172.31.11.237
Note that after modification, restart the service: service sshd restart