/bin/ssh-copy-id: ERROR: failed to open ID file ‘/root/.ssh/iddummy‘: No such file or directory

Posted 雅冰石

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了/bin/ssh-copy-id: ERROR: failed to open ID file ‘/root/.ssh/iddummy‘: No such file or directory相关的知识,希望对你有一定的参考价值。

一 问题描述

执行ssh-copy-id报错:

/bin/ssh-copy-id: ERROR: failed to open ID file '/root/.ssh/iddummy': No such file or directory

二 解决办法

cd /root/.ssh
rm rd_rsa

rm rd_rsa.pub

重新生成秘钥文件

重新配置主机信任关系

以上是关于/bin/ssh-copy-id: ERROR: failed to open ID file ‘/root/.ssh/iddummy‘: No such file or directory的主要内容,如果未能解决你的问题,请参考以下文章

ssh秘钥分发错误“/usr/bin/ssh-copy-id: ERROR: No identities found”

解决:使用ssh-copy-id命令时出现ERROR: ssh: Could not resolve hostname hadoop01:Name or service not known

误删:[root@m01 scripts]# rm -f /usr/bin/ssh-copy-id

Centos7实现ssh免密登陆

SSH登录警告(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!)

SSH登陆无权限