ssh登錄The authenticity of host localhost can't be established.錯誤


用ssh登錄出現如下錯誤

[hadoop@Master .ssh]$ ssh localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 4d:ba:1c:b8:75:eb:6f:a2:60:56:b1:71:ee:cc:02:2c.
Are you sure you want to continue connecting (yes/no)? 
Host key verification failed.
[hadoop@Master .ssh]$ ssh localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 4d:ba:1c:b8:75:eb:6f:a2:60:56:b1:71:ee:cc:02:2c.
Are you sure you want to continue connecting (yes/no)? 
Host key verification failed.

解決方式:

[hadoop@Master .ssh]$ ssh -o StrictHostKeyChecking=no localhost

其他的ip地址也可以用同樣的方式解決


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM