2

I edited sshd_config to deny access to SSH to some of my users, just allowing only few users. Here's what I added to the sshd_config file:

AllowUsers Name1 Name2

But I forgot to put in root (I though it was not necessary), so now I can't access to SSH with root anymore and with Name1 and Name2 I can't edit the sshd_config file, because I get Permission Denied.

I contacted my host and they told me they can't help me.

Can I get my root access back without physically accessing my dedicated server?

1 Answer 1

1

login Name1 via ssh , And su root you access by root .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.