sshd permitrootlogin no and whellgroup not user add.

linegentr

Registered
Mar 30, 2005
3
0
151
i have change sshd_config to
Port 35
Protocol 2
PermitRootLogin no

and i not add whellgroup a user.. how fix it.

i go cpanel whell group modify. but cpanel not add whell group a user.
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
If you cannot add a user to the wheel group and you don't already have a user other than root in your wheel group, you are going to have to get to the console of the server or have your server provider login to the console and reset sshd_config to allow root login and restart sshd for you.