I have to work on an issue happening on a server running Arch Linux. The other dev sent me an e-mail with the key to access as the root user and wrote me this "You should login as root, upload your public ssh key and add it to the authorized_keys of the xxx user".
He created a user to run a node application. I have the public key file and I need to add it to the
authorized_keys of the user he uses to run the app, so I can ssh as this user.
My problem is that I don't know the command to do it. I would like to know how to do it with a file in my local machine or just copy the authorized_keys from the root.