Report this

What is the reason for this report?

Format Pc and lost access to server

Posted on October 8, 2018

Hi, I had to reinstall windows so i lost the keys to my server (no password server, only ssh). I tried using the droplet web console but almost any command i send produce a “command not found” error. Any advices?



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.

Commands are case sensitive. So when you type SUDO vs sudo that makes a big difference in the shell world. Just making sure you’re aware of that. Type these two commands and let know what you see from your end:

env
echo $PATH

Feel free to upload the screen shot of the resulting output somewhere and link to it here. It’ll save you time. If you need urgent help with this feel free to reach out at joe@ my user name (add a dot between unixy and net).

How are you able to login without the key? Can you screen shot the “command not found” error so I can see where this is happening?

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.