ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
记得最后一定还要在当前用户下执行命令:ssh-add 即可解决。
否则Agent admitted failure to sign using the key
PS:hadoop安装配置要在普通用户下进行,root启动不了hadoop相关进程
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
记得最后一定还要在当前用户下执行命令:ssh-add 即可解决。
否则Agent admitted failure to sign using the key
PS:hadoop安装配置要在普通用户下进行,root启动不了hadoop相关进程