跳转至

限制IP登录

编辑/etc/hosts.deny文件:

sshd: ALL

编辑/etc/hosts.allow文件:

sshd: <允许的ip1>, <允许的ip2>

评论