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'
bash: ssh-copy-id: command not found...
由於ssh-copy-id命令找不到,所以用下面命令
cat /root/.ssh/id_*.pub | ssh 127.0.0.1 'cat >> .ssh/authorized_keys'