84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
如题。用 hosts 针对的是所有用户。 貌似可以用配置 /etc/ssh/sshd_config 方式去限制。 貌似也可以配置 iptables 去限制。 但不知哪种方法更好?该如何配置。能否详细讲解?谢谢!
针对LZ提出的需求,建议用sshd_config,iptables不适合。 配置:AllowUsers wangshuo@172.31.11.237 注意修改完毕后重启服务:service sshd restart
针对LZ提出的需求,建议用sshd_config,iptables不适合。
配置:AllowUsers wangshuo@172.31.11.237
注意修改完毕后重启服务:service sshd restart