SSH key authentication allows for the sharing of access without the compromise of sharing a password. Adding SSH keys to the root user from the WHM interface is easy, and removing them is even easier.
Procedure
Import a new SSH Key
- Log into WHM
- Navigate to "Manage root's SSH keys"
- Click "Import Key"
- Paste the Public Key in the last text field
- The name field will be auto-filled
- Leave the other two fields blank
- Click "import"
Revoke access from a key
- Log into WHM
- Navigate to "Manage root's SSH keys"
- In the row of the key you'd like to deactivate, click "Manage Authorization"
- Click "Deauthorize"
Permanently delete a key from the server
- Log into WHM
- Navigate to "Manage root's SSH keys"
- In the row of the key you'd like to deactivate, click "Delete"
- Click "Yes"