So I've changed my Macbook and lost the previous public key. My blog is hosted on DigitalOcean. I'm going to migrate my blog, but I can't access my database. How can I retrieve the database?
Your answer is much appreciated!
So I've changed my Macbook and lost the previous public key. My blog is hosted on DigitalOcean. I'm going to migrate my blog, but I can't access my database. How can I retrieve the database?
Your answer is much appreciated!
First you will have to login to the server via SSH using your user password or using the console on the control panel. SSH keys are stored in ~/.ssh/authorized_keys file. Now you can remove your SSH or replace it with a new SSH key. Once you have done that, you will be able to join using the new SSH key.