This article explains how to delete SSH keys from the Account Control Center (ACC). Deleting an SSH key permanently removes its access. Ensure the key is no longer in use before proceeding.
Removing SSH Keys Added in the ACC
SSH keys configured through the ACC's SSH management section can be removed directly from the ACC by following the steps below. If you added an SSH key directly to the server before SSH management was available in the ACC, see Removing SSH Keys Directly From the Server.
Choose the tutorial that reflects your ACC interface type:
Not sure what the difference is? See Which ACC Interface Am I Using?
If you are using the Legacy Interface:
- Log into the Account Control Center (ACC) at my.pair.com
- In the left sidebar, click Security
- Click Manage SSH Access
- Find your specific SSH key and toggle on the Delete option
- Click Delete Selected Keys
If you are using the New ACC Interface:
- Log into the Account Control Center (ACC) at my.pair.com
- In the top navigation bar, click Hosting
- In the “Site Management” section, click the Manage SSH Access button
- Find your specific SSH key and toggle on the Delete option
- Click Delete Selected Keys
Note: Removing an SSH key in the ACC revokes access for that key on the hosting account only. The key files stored on your local device are not deleted.
Removing SSH Keys Added Directly to the Server
Some SSH keys may have been configured directly on the server before SSH management was available in the ACC. These keys will not appear in the ACC’s SSH Access section and must be removed manually.
Choose the tutorial that reflects your ACC interface type:
Not sure what the difference is? See Which ACC Interface Am I Using?
If you are using the Legacy Interface:
- Log into the Account Control Center (ACC) at my.pair.com
- Click Files in the left sidebar
- Select Home
- Within that directory, navigate to the .ssh directory
- Delete any .pub files associated with the SSH key you want to remove. See Deleting Files in the ACC
- Edit the authorized_keys file and remove the unwanted key. See Editing Files in the ACC. Be sure to save the file after removing the key.
If you are using the New ACC Interface:
- Log into the Account Control Center (ACC) at my.pair.com
- In the top navigation bar, click Files
- Click the .ssh directory
- Delete any .pub files associated with the SSH key you want to remove. See Deleting Files in the ACC
- Edit the authorized_keys file and remove the unwanted key. See Editing Files in the ACC. Be sure to save the file after removing the key.