/usr/bin/ssh-copy-id: ERROR: failed to open ID file '/root/.pub': No such file or directory
(to install the contents of '/root/.pub' anyway, look at the -f option)
装好系统,初始化脚本之后做ssh免密的时候
执行完 ssh-keygen -t rsa
但是执行下一步的时候 ssh-copy-id ip(传送的ip)然后就爆出了上边的提示
解决
ssh-keygen -t dsa
然后问题解决
仅供参考