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
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.