bash: ssh-copy-id: command not found...

bash: ssh-copy-id: command not found...

ssh免密

由于ssh-copy-id命令找不到,所以用下面命令
cat /root/.ssh/id_*.pub | ssh 127.0.0.1 'cat >> .ssh/authorized_keys'

posted @ 2024-04-22 11:26  Sureing  阅读(138)  评论(0编辑  收藏  举报