Description: How to use rescue mode in linode

Launch LISH Console

passwd (A very temporary password for only short period of access to the rescue mode server)service ssh start


/dev/sda (but you could check the driver by using command lsblk)/media by command
mkdir /media/sda
mount -o barrier=0 /dev/sda /media/sda
In case you are losing you ssh key, you can modify /media/sda/root/.ssh/authorized_keys to add you new ssh public key.
You may use the command to install vim for update the file.
apt update -y && apt isntall vim -y
After that, you could restart the Reboot the server on the Linode console page.
Now you are able to use the new SSH Key to access to the server.