Yesterday i was connected to my droplet via SSH as usual, doing my work. Then i has issues with zsh so i removed it to use the default console:
sudo apt-get --purge remove zsh
Then I exited and now I can’t connect anymore.
Via SSH I get the “permission denied” error. Via web console it looks like the login worked (I see the welcome screen for a second), and then it goes back to the login screen again.
Right now i have no way to log in. I tried re-adding the SSH key via dashboard and it says that the SSH key is already installed, so that’s not the problem (but i knew it).
I believe that after removing zsh now i don’t have a default shell.
What could I do??
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!