Lost ftp Username and Password how to recover or reset

How do I reset my ftp password and username as I lost my password and username in my old drive. pls pls

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I solved creating a new user

sudo adduser

I answer some displayed questions and finally set a password. Then, I tried to connect ftp and ssh:

ssh newuser@myhost


ftp myhost
ftp> user newuser

Prompt asked me password and everything ok.

I point projects to the new user. You don’t need to move files, just point the newuser to those places and eventually, remove old user if not necessary anymore.

I have changed the Login Username & Password of Digital Ocean, and now I want to change the FTP Login Password of my website in Digital Ocean, so that the Agency can not access the database at all. Please help me with the steps to change the FTP root Password. If I go by Reset Root Password, then DO will send the password on its own, and I wont be able to change it.

Did you lost your FTP password or you SSH / SFTP password? If its only FTP, connect to your droplet and edit your FTP service config with a new password. If its SSH / SFTP just login to your droplet in the DO browser and reset the root password at your droplet settings.