遇到下面这种情况说明的known_hosts文件的权限有问题
Are you sure you want to continue connecting (yes/no)? yes Failed to add the host to the list of known hosts
只需要将.ssh/known_hosts 这个文件的权限该成644就行了
chmod 644 ~/./ssh/known_hosts遇到下面这种情况说明的known_hosts文件的权限有问题
Are you sure you want to continue connecting (yes/no)? yes Failed to add the host to the list of known hosts
只需要将.ssh/known_hosts 这个文件的权限该成644就行了
chmod 644 ~/./ssh/known_hosts