Getting WHM Access from SSH on Cpanel Server

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.

whmapi1

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

Check if Cpanel Server need reboot from command line

See Cpanel, Configure Cpanel Server service using whmapi1

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *