vim /etc/ssh/sshd_config
AllowUsers root@xx.xxx.x.xxx
service sshd restart
centos8.x 设置ssh安全只允许用户从指定的IP登陆
最新推荐文章于 2024-04-26 16:31:32 发布
vim /etc/ssh/sshd_config
AllowUsers root@xx.xxx.x.xxx
service sshd restart