Authorization with a temporary key
To log in into the control panel without a username and password using a temporary key only.
Generating a temporary key is only possible under an account with superuser rights (root by default).
Connect to the server via SSH with the superuser permissions.
Generate one random key at least 16 characters long using the following command:
pwgen -s 16 1
Copy the key to the clipboard and execute the following function to create an access key:
/usr/local/mgr5/sbin/mgrctl -m ispmgr session.newkey username=<username> key=<generated_key>
To log in with a key, follow the URL in the browser https://domain.com:1500/ispmgr?func=auth&key=<generated_key>: following the URL will automatically log you in into the control panel.
The temporary key will be reset automatically after 1 hour of panel inactivity.
Key validity period can be modified using the OneTimeExpire parameter in the configuration file.