The authenticity of host '192.168.x.xx' can't be established(scp连不上也可以试试).

● 由于生成新的秘钥,导致之前可以连接的远程服务器连不上

[root@localhost ~]# ssh 192.168.0.22
The authenticity of host '192.168.0.22 (192.168.0.22)' can't be established.
ECDSA key fingerprint is 60:41:ed:87:a7:73:9b:84:f5:2e:4c:4c:a3:de:54:17.
Are you sure you want to continue connecting (yes/no)? 
Host key verification failed.

● 解决办法

[root@localhost ~]# ssh -o StrictHostKeyChecking=no 192.168.0.22
Warning: Permanently added '192.168.0.22' (ECDSA) to the list of known hosts.
[email protected]'s password: 

猜你喜欢

转载自blog.csdn.net/bb23417274/article/details/83420192