查阅:

$ ssh-copy-id remote-machine

公钥,私钥已经生成,执行上述命令完毕出现如下错误:

/usr/bin/ssh-copy-id: ERROR: No identities found

g 之发现缺少公钥路径,通过 -i 加上即可:

$ ssh-copy-id -i ~/.ssh/id_dsa.pub user@remote_ip

不要轻易迷信任何书籍,实践出真知!

相关文章:

  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-12-09
  • 2021-12-17
  • 2022-12-23
猜你喜欢
  • 2022-01-23
  • 2021-04-04
  • 2021-08-13
  • 2022-12-23
  • 2021-06-18
  • 2021-07-05
  • 2022-12-23
相关资源
相似解决方案