1. 程式人生 > >The authenticity of host '192.168.x.xx' can't be established(scp連不上也可以試試).

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

● 由於生成新的祕鑰,導致之前可以連線的遠端伺服器連不上

[[email protected] ~]# 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.

● 解決辦法

[[email protected] ~]# 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: