When i gave below command i am getting an error message.
devopsadmin@ip-172-31-4-80:~/.ssh$ ssh-copy-id [email protected]
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: “/home/devopsadmin/.ssh/id_rsa.pub”
The authenticity of host ‘172.31.4.93 (172.31.4.93)’ can’t be established.
ED25519 key fingerprint is SHA256:RXMd1IXxoq7m/BJYZQpc9FJ2PKtRW9c29dS+Zkm0/V0.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
/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).