localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

試著忘記壹切 提交于 2019-12-07 21:02:17

在开启hadoop时候报错:localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

在这里插入图片描述
此时 ssh localhost也会失败
原因是秘钥没有给自己,
运行ssh-copy-id -i /home/hadoop/.ssh/id_rsa.pub hadoop@localhost即可解决。

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!