start-dfs.sh,权限被拒绝

vfh0ocws  于 2021-06-01  发布在  Hadoop
关注(0)|答案(1)|浏览(913)
hduser@ubuntu:~$ start-dfs.sh
Starting namenodes on [localhost]
localhost: sign_and_send_pubkey: signing failed: agent refused operation
localhost: Permission denied (publickey,password).
Starting datanodes
localhost: sign_and_send_pubkey: signing failed: agent refused operation
localhost: Permission denied (publickey,password).
Starting secondary namenodes [ubuntu]
ubuntu: sign_and_send_pubkey: signing failed: agent refused operation
ubuntu: Permission denied (publickey,password).
hduser@ubuntu:~$
jvlzgdj9

jvlzgdj91#

我想这个命令对你有帮助

eval "$(ssh-agent -s)"
ssh-add

重新启动ssh代理并执行ssh add。

相关问题