本文共 351 字,大约阅读时间需要 1 分钟。
[root@demo ~]# ssh-copy-id xxx.xxxx.xxx.xxx/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
有时候执行ssh-copy-id时候,会卡在上面的界面,这一般是由于对方主机上已经存在本主机信息了,登录到目标主机上,删除
~/.ssh/authroized_keys, 再次执行上述命令就可以复制了,不会再卡住了。
转载地址:http://fspef.baihongyu.com/