Report this

What is the reason for this report?

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

Posted on July 13, 2017

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?



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.