linux ssh 报错failed - POSSIBLE BREAK-IN ATTEMPT
生活随笔
收集整理的這篇文章主要介紹了
linux ssh 报错failed - POSSIBLE BREAK-IN ATTEMPT
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
linux ssh 報(bào)錯(cuò)failed - POSSIBLE BREAK-IN ATTEMPT
問題故障:
今天在新租的虛擬機(jī)上,發(fā)現(xiàn)ssh登陸機(jī)器的時(shí)候報(bào)錯(cuò),如下:
[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 ~]# # 搜索相關(guān)資料后,發(fā)現(xiàn)只需要如下操作,即可解決問題 [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# 經(jīng)驗(yàn)證后,不再報(bào)錯(cuò)。?
轉(zhuǎn)載于:https://www.cnblogs.com/bjx2020/p/8820008.html
總結(jié)
以上是生活随笔為你收集整理的linux ssh 报错failed - POSSIBLE BREAK-IN ATTEMPT的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Clash Royale开发日志
- 下一篇: CocoaPods最新版本升级