Hello everyone:
He was playing with the keys via ssh and create a root for me, then I added the following line: “PermitRootLogin without-password” in the following file: / etc / ssh / sshd_config
And now I can not access my VPS, anyone knows how can I fix it? I will be greatly thankful
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!
Yo,
Have you tried to access your droplet/server through the console on the control panel DigitalOcean provides you with? If you can, you can go and revert the changes there. Otherwise, FTP or some other protocol could work if you got write permissions for the file.
If not, revert to a backup (if you got it) or try and submit a ticket to support. There is not a lot of other things you can do if you do not have access to your server.
Sincerely, Jon Brede.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.