-
/bin/ssh-copy-id: ERROR: No identities found카테고리 없음 2020. 12. 10. 12:40
#에러 메시지
[root@jenkins]# sshpass -p "password" ssh-copy-id root@192.168.0.7
/bin/ssh-copy-id: ERROR: No identities found
#해결
ssh root@192.168.0.7 접속 후
#다시 시도
sshpass -p "password" ssh-copy-id root@192.168.0.7
[root@jenkins]# sshpass -p "password" ssh-copy-id root@192.168.0.7
/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'root@192.168.0.7'"
and check to make sure that only the key(s) you wanted were added.