hey guys. can smb help me out? on my pc i generated ssh key pair, and when im trying to copy my public ssh key, i get this error:
$sudo ssh-copy-id -i ~/.ssh/id_rsa.pub -p 23786 [email protected]
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/lauris/.ssh/id_rsa.pub"
/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: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
[email protected]: Permission denied (publickey).
what to do in this situation? thanks