Answer the question
In order to leave comments, you need to log in
PermitRootLogin no, how to restore root access?
In /etc/ssh/sshd_config, the parameter is PermitRootLogin no, how can I return the ability to log in as root. The user rights under which there is access is not enough to edit the ssh config.
Answer the question
In order to leave comments, you need to log in
Can you log in as normal? Type sudo su under it and you will be under the root.
If this is a normal user, then nothing - just go to the console, log in as a root and edit the config. Well, or break the server :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question