In every process SSH return Permission denied (publickey).
ssh-copy-id root@XXX.XXX.XX.XX /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 4 key(s) remain to be installed -- if you are prompted now it is to install the new keys Permission denied (publickey). ssh root@XXX.XXX.XX.XX Permission denied (publickey).
When i try using -vvv then return
debug1: Trying private key: /home/leo/.ssh/id_dsa debug3: no such identity: /home/leo/.ssh/id_dsa: No such file or directory debug1: Trying private key: /home/leo/.ssh/id_ecdsa debug3: no such identity: /home/leo/.ssh/id_ecdsa: No such file or directory debug1: Trying private key: /home/leo/.ssh/id_ed25519 debug3: no such identity: /home/leo/.ssh/id_ed25519: No such file or directory debug2: we did not send a packet, disable method debug1: No more authentication methods to try. Permission denied (publickey).
How to stop SSH Permission denied (publickey) and connect to host server?