Copy your public key which is in ~/.ssh/id_rsa.pub to the remote machine by completing this command:
scp ~/.ssh/id_rsa.pub [email protected]:_____/_____
I just need the ___/____ part
Answer: .ssh/authorized_keys
It will ask you for your system password on the remote machine and after authenticating it will transfer the file.
You may have to create the .ssh directory in your home directory on the remote machine first. By the way, scp is a file transfer program that uses ssh.
If you have any doubts, leave a comment below before rating. I'll be happy to assist you further.
Do UPVOTE if it helps
Get Answers For Free
Most questions answered within 1 hours.