linux 服务器拒绝某个IP 登陆
[root@swbak /etc/yum.repos.d]
#vim /etc/host
host.conf hostname hosts hosts.allow hosts.deny
[root@swbak /etc/yum.repos.d]
#vim /etc/hosts.deny
编辑内容:sshd: IP

在用这个设置的IP 就登陆不上去了
这篇博客介绍了如何在Linux服务器上通过编辑`/etc/hosts.deny`文件,添加指定IP来禁止该IP地址的SSH登录,从而增强服务器的安全防护。
开发板推荐:天空星STM32F407VET6开发板
超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印
linux 服务器拒绝某个IP 登陆
[root@swbak /etc/yum.repos.d]
#vim /etc/host
host.conf hostname hosts hosts.allow hosts.deny
[root@swbak /etc/yum.repos.d]
#vim /etc/hosts.deny
编辑内容:sshd: IP

在用这个设置的IP 就登陆不上去了
开发板推荐:天空星STM32F407VET6开发板
超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印
724
1098
9942
3659
1809
4020
5635

被折叠的 条评论
为什么被折叠?