Linux SSH限制IP登录的安全策略方法 2024年11月15日2016年12月30日 作者 @hostease如说你只允许10.0.0.2这个ip进入,其它都禁止:vim /etc/ssh/sshd_config添加一行:allowusers root@10.0.0.2注:root为你用来登入服务器的用户名最后sshd重启service sshd restart 原文链接:https://www.linuxde.net/2013/06/14589.html相关