Getting WHM Access from SSH on Cpanel Server

To get WHM access from SSH, run

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

Cpanel