How to add public key in the os level (linux)?


How to add a public key in the os level (linux)?



For a user to have access in the os level, must have the public key put in the authorized_keys from .ssh

Go in the system you want to put it and go in .ssh

cd .ssh and ll

Make a copy of the original file and after that edit it.

Here press “i” to edit, put the public key and press ESC. Save it. wq!

Now the user has access to the os level.

Leave a comment