Permission denied (publickey,password,keyboard-interactive).
程序员文章站
2022-07-13 16:11:47
...
最近一段时间没有在本机上使用hadoop环境,启动hadoop的时候出现错误
Permission denied (publickey,password,keyboard-interactive).
具体的如下:
问题原因:
发现之前配置的在主机上免密登录主机自身,有问题,即执行还需要输入密码
ssh localhost
还需要输入密码才可以
解决办法:
重新配置一下免密登录
进入ssh的目录
cd ~/.ssh
将id_rsa.pub中的内容拷贝到 authorized_keys中
cat id_rsa.pub >> authorized_keys
检验是否解决:
重新启动hadoop
再使用jps查看进程发现都启动起来了,如下
问题解决!!!
上一篇: optee学习笔记_3
下一篇: git clone报错:Permission denied (publickey). fatal: Could not read from remote repository...
推荐阅读
-
git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
-
Permission denied (publickey,password,keyboard-interactive).
-
git clone报错:Permission denied (publickey). fatal: Could not read from remote repository...
-
git clone出现Permission denied (publickey)解决办法
-
Git报错解决:[email protected]: Permission denied (publickey).
-
git报错:[email protected]: Permission denied (publickey)
-
vscode 连远程服务器报错 Permission denied (publickey)
-
Hadoop伪分布式集群在启动时遇到Permission denied (publickey,gssapi-keyex,gssapi-with-mic
-
ssh Permission denied (publickey)
-
IDEA中使用git报错Permission denied (publickey)