Home > If I Share My Rsa Public Key (Generated With Ssh-Keygen) Can You Access My Gnu/Linux Without Username And Password?
Question

If I share my RSA public key (generated with ssh-keygen) can you access my GNU/Linux without username and password?

Answers
03/06/2022
Gene Scaiano

In order for them to access your computer using the ssh key, you must add the public key of the person/computer you want to give access to in the authorized_keys file located in ~/.ssh/ (in the home of the user allowing the connection) on your computer.

Remember that the public key helps you to encrypt the communication but not to decrypt it, so sharing your public key is not dangerous (id_rsa.pub), what is very dangerous is to share, lose or have your private key (id_rsa) stolen.

I hope this helps.

Reply
How can I remove the Windows 10 'Activate Windows go to settings to activate Windows' watermark on a PC? :: What are some of the best desktop environments for Arch Linux?
Useful Links