How do I delete my SSH key?
Depending whether you're looking to remove an SSH key from your account, or just from your Linode, there are 2 different ways to go about this:
To delete an SSH key from your account:
- Head over to the "SSH Keys" tab of the "My Profile" section of the Cloud Manager.
- Click the 3 dots to the right of your SSH key and then click "Delete".
To delete an SSH key from your Linode:
- Login to your Linode via SSH or Lish.
- Open the file
~/.ssh/authorized_keyswith your favorite editor. Examples for
vimcan be found below:
# With nano: nano ~/.ssh/authorized_keys # With vim: vim ~/.ssh/authorized_keys
Whichever editor you choose, simply delete the key from the file and save.