vi /etc/ssh/sshd_config
AllowUsers root@203.212.4.117
AllowUsers root@124.202.206.14
service sshd restart
如果取消ip登录限制,则删除AllowUsers项即可
积分: 632