解决linux中ssh登录Warning:Permanently added (RSA) to the list of known hosts
原因:在执行scp id_rsa.pub root@hostname:/root/.ssh这一步时,没在本机的/root/.ssh下生成known_hosts文件。解决方案:vi /etc/ssh/ssh_config最后有两行是 StrictHostKeyChecking no UserKnownHostsFile /dev/null把这两行注释掉...