免密登录报错!/usr/bin/ssh-copy-id: ERROR: failed to open ID file ‘/root/.pub‘: 没有那个文件或目录 (to install the
1.报错项/usr/bin/ssh-copy-id: ERROR: failed to open ID file '/root/.pub': 没有那个文件或目录(to install the contents of '/root/.pub' anyway, look at the -f option)2.解决方法输入:ssh-keygen -t dsa再次尝试:ssh-copy-id hostname...