To get WHM access from SSH, run
whmapi1 create_user_session user=root service=whostmgrd locale=en
This is useful when you have SSH key access to server, but no root password.
Open the URL you get in terminal in a browser, you have WHM root access with out password.
For Cpanel, use
whmapi1 create_user_session user=CPANEL-USERNAME service=cpaneld locale=en
Leave a Reply