用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地址也可以用同樣的方式解決