在配置spark中,我们需要无密码方式的ssh连接。
所以,一般使用
# ssh-keygen -t rsa
生成在家目录下的.ssh中一个id_rsa.pub
将这个文件复制到另外的机器中
#另一台机器中使用cat id_rsa.pub >> authorized_keys
在出现Agent admitted failure to sign using the key.
时利用
ssh-add
在配置spark中,我们需要无密码方式的ssh连接。
所以,一般使用
# ssh-keygen -t rsa
生成在家目录下的.ssh中一个id_rsa.pub
将这个文件复制到另外的机器中
#另一台机器中使用cat id_rsa.pub >> authorized_keys
在出现Agent admitted failure to sign using the key.
时利用
ssh-add