3、 SSH无密登录配置
1、配置ssh
(1)ssh连接时出现Host key verification failed的解决方法
[xiaobuding@hadoop102 ~]$ ssh hadoop103
出现:
The authenticity of host '192.168.1.103 (192.168.1.103)' can't be established.
RSA key fingerprint is cf:1e:de:d7:d0:4c:2d:98:60:b4:fd:ae:b1:2d:ad:06.
Are you sure you want to continue connecting (yes/no)?
(2)解决方案如下:直接输入yes
2、无密钥配置
(1)生成公钥和私钥:
[xiaobuding@hadoop102 .ssh]$ ssh-keygen -t rsa
</

本文详细介绍了如何配置SSH无密登录,包括解决Host key verification failed问题,生成并拷贝公钥私钥,以及在不同节点间实现无密登录。适用于hadoop集群的虚拟机克隆安装过程。
最低0.47元/天 解锁文章
5254

被折叠的 条评论
为什么被折叠?



