解决SSH登录时出现Warning: Permanently added告警问题

问题:
hbase0slave01: Warning: Permanently added the ECDSA host key for 
IP address 'xxx.xxx.xxx.xxx' to the list of known hosts.

解决办法:
创建~/.ssh/config 文件

vim ~/.ssh/config

在文件中输入下面内容:

UserKnownHostsFile ~/.ssh/known_hosts

你可能感兴趣的:(hadoop)