安装Hadoop一定要安装ssh-keygen吗?
本人亲自实践,发现如果没有像视频中执行以下两条重要命令,无法启动:
ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
一直报错的内容如下:
[root@lb-chen sbin]# ./start-all.sh Starting namenodes on [lb-chen] Last login: Sat Dec 21 17:46:44 CST 2019 on pts/0 lb-chen: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Starting datanodes Last login: Sat Dec 21 17:52:06 CST 2019 on pts/0 localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Starting secondary namenodes [lb-chen] Last login: Sat Dec 21 17:52:07 CST 2019 on pts/0 lb-chen: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Starting resourcemanager Last login: Sat Dec 21 17:52:08 CST 2019 on pts/0 Starting nodemanagers Last login: Sat Dec 21 17:52:11 CST 2019 on pts/0 localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
请问这个ssh 是一定要的吗,是不是可以不用安装这个?
还请大神求助,老师求助!SOS