Question

Format Pc and lost access to server

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?


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.

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?