SSH keys
Read access to .ssh
Having read access over the .ssh directory for a specific user, we may read their private ssh keys found in /home/user/.ssh/id_rsa or /root/.ssh/id_rsa, and use it to log in to the server.
Write access to .ssh
Having write access over the .ssh directory for a specific user, we may place our public key in /home/user/.ssh/authorized_keys.
But for this we need to have gained access first as that user. With this technique we obtain ssh access to the machine.
Last update: 2023-05-23 Created: May 23, 2023 19:56:20