HowTo: Revoke OpenSSH Keys and Disable User Access
To revoke OpenSSH keys and disable user access, you need to remove the user’s public key from the authorized keys file and remove their private key from their client. Here are the steps to do this: On the server, locate the user’s authorized keys file. It’s usually located in the ~/.ssh directory. Remove the public … Read more