Dear Learner,


We hope you are doing well.


Before copying the public key to the authorized_keys file have you created the key with the help of below given command.



After getting the above line
“Enter file in which to save the key (/home/user/.ssh/id_rsa):”


Just Press Enter


After running the above command please execute the below command to copy the key.



Feel free to contact us in case you have any query.