Question

After root password reset all files are gone from VPS when logged in from the console.

I just reseted my root password from the droplet UI and then when I reconnected to the droplet from my local console with ssh root@… I don’t see any files in there with the ‘ls’ command. However, when I connect with FileZilla to the same address I get to see the files. What is going on?


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @spparvanov

You are either not using the same login. Or the directory path is different. Or you are not connecting to the same server.

Usually FileZilla saves the path from the last login, so when you login again you might be located in /var/www/html/ whereas when you login with SSH it defaults to the users home directory (which is /root in your case). Make sure you’re in the same directory path.