By nycJacob
So this is embarrassing but… A month ago I set up a basic LAMP following your tutorials, upload a web app I am working on and all was well. Last month been programming and uploading sporatic update but not really testing the live site. Recently noticed some problems, deleted the public_html directory (sorry not using git or anything yet). Now wanted to log in to phpmyadmin to check the database but could not login, although I have my password written down here. I was thinking of just reinstalling phpmyadmin but my sudo password fails and I have that written down. When I log in to the droplet console I also cannot login to the droplet. I must have confused passwords or something during the setup process. I do not think I ever got a password emailed to me because I cannot find any email at all from do and I ssh with a key. Is there any suggestions or do I need to destroy the droplet and start again.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If you managed to log into the console as root then that same password should work fine over ssh. If you want to use ssh keys rather than putting in your password for your root account as well you should follow this guide it walks you through the process of setting up the key and disabling the password. Hope that helps :)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.