Report this

What is the reason for this report?

Reset root password after PermitRootLogin no

Posted on June 17, 2019

Hello! How are you?

Well, for security purposes I am trying to disable access from root. I am using the line: PermitRootLogin no". Password Authentication turned off too. I am using SSH Keys.

The problem is when I access the Digital Ocean dashboard and click on reset root password. The new password is sent ok to my e-mail but I can’t access ssh root@ip again.

What should I do?

(If I change to PermitRootLogin on, I can access and recover it perfectly).

The point is recover access from clicking “reset root password” an gain access with permissions root login turned off…

Hope you understand (:

Thanks!!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.