————————————————————————————————-
| 欢迎关注个人公众号 zclinux_note 第一时间获取关于linux使用的技巧。探索Linux的奥秘 |
————————————————————————————————-
reverse mapping checking getaddrinfo for XXX.XXXX.com failed – POSSIBLE BREAKIN ATTEMPT!
在执行rsync的时候报了这个错误,看到其他的帖子有ssh和scp的时候也遇到过这个问题
reverse mapping checking getaddrinfo for 192-168-001-010.static.imsbiz.com [192.168.1.10] failed – POSSIBLE BREAK-IN ATTEMPT!
解决办法有两种
1. 在/etc/hosts中添加上域名
192.168.1.10 192-168-001-010.static.imsbiz.com
2.在ssh的配置文件中修改配置
sed -i “s/GSSAPIAuthentication yes/GSSAPIAuthentication no/” /etc/ssh/sshd_config
或者手动将参数从“yes”修改为“no”
GSSAPIAuthentication no
完成后重启sshd服务