In this article, we'll show you how to reset the password for your Plesk administrator account.

Please Note

If you also need to reset your MySQL database password as a result of connectivity/password synchronization issues, please visit the following link for more information:
https://support.plesk.com/hc/en-us/articles/213364309

Generating One-Time Login Links

  • Log on to the server using SSH.

  • Enter the command below to create two URLs. With the first URL, you can access Plesk via the hostname. The second URL allows you to access Plesk through the server's IP address.

    [root@localhost ~]# plesk login

    If the server hostname cannot be resolved over the Internet, the associated URL will not be created.

  • Copy one of the URLs and open it in your browser.

Resetting the Password

To reset the password, enter the command below after replacing the placeholder text my_passwd with the desired password.

[root@localhost ~]# plesk bin admin --set-admin-password -passwd 'my_passwd'

You can now log in to Plesk with the username admin and the password you assigned.