SOLVED I cant login to WHM due to Two Factor Authentication

Sujoy Dhar

Well-Known Member
Jul 24, 2016
64
9
8
India
cPanel Access Level
Root Administrator
Twitter
It was running well and suddenly today I cant access the WHM and step two verification is mentioning as Wrong.

I am also not having the ssh enabled in my server.

Now how can I login to WHM please help me
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello,

You can disable two-factor authentication via the command line through WHM API 1:

Code:
whmapi1 twofactorauth_disable_policy
However, if you don't have SSH access to the server, you'd have to ask your data center or server provider to run this command on your behalf, or to help you with getting SSH or console access to run the command yourself.

Thank you.
 
  • Like
Reactions: Sujoy Dhar