设置ssh只允许用户从指定的IP登陆

vim /etc/ssh/sshd_config

AllowUsers root@192.168.10.15

systemctl restart sshd.service

posted @ 2019-06-20 17:34  侃豺小哥  阅读(2068)  评论(0编辑  收藏  举报