服务器sshd远程登录 加白名单ip

1、history |grep ssh  查看历史命令  是否有修改过

2、vi /etc/ssh/sshd_config  编辑  添加ip

3、service sshd restart  重启

猜你喜欢

转载自www.cnblogs.com/gaogaoxingxing/p/12299171.html