linux ssh 报错failed - POSSIBLE BREAK-IN ATTEMPT
linux ssh 报错failed - POSSIBLE BREAK-IN ATTEMPT
问题故障:
今天在新租的虚拟机上,发现ssh登陆机器的时候报错,如下:
[root@pictures_new3 ~]# ssh root@122.122.122.111 The authenticity of host '122.122.122.111 (122.122.122.111)' can't be established. RSA key fingerprint is cb:8a:f6:0f:13:9c:6c:44:ea:4a:e0:1d:6f:05:a2:ba. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '122.122.122.111' (RSA) to the list of known hosts. reverse mapping checking getaddrinfo for scdc.worra.com [122.122.122.111] failed - POSSIBLE BREAK-IN ATTEMPT! Last login: Fri Apr 13 13:37:46 2018 from 58.71.118.58 [root@PI05P01 ~]# # 搜索相关资料后,发现只需要如下操作,即可解决问题 [root@PI05P01 ~]# sed -i 's/# GSSAPIAuthentication no/GSSAPIAuthentication no/' /etc/ssh/ssh_config [root@PI05P01 ~]# sed -i 's/# GSSAPIAuthentication no/GSSAPIAuthentication no/' /etc/ssh/sshd_config [root@PI05P01 ~]# /etc/init.d/sshd restart # 经验证后,不再报错。
分类:
Linux
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 一文读懂知识蒸馏
· 终于写完轮子一部分:tcp代理 了,记录一下