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

# 经验证后,不再报错。

 

转载于:https://www.cnblogs.com/bjx2020/p/8820008.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值