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

Sureing發表於2024-04-22

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'

相關文章