Home MiscellaneousHow to Retrieve Plesk Admin Password via SSH or Command Line

How to Retrieve Plesk Admin Password via SSH or Command Line

by SupportPRO Admin

If the Plesk admin password window does not open or you cannot access the password through the GUI, you can retrieve it directly from the server using command-line methods.

Below are the steps for both Linux and Windows servers.

Retrieve Plesk Admin Password on Linux Server

  1. Log in to the server via SSH as the root user.
  2. Run the following command:
cat /etc/psa/.psa.shadow

This command displays the encrypted admin password used by Plesk.

Retrieve Plesk Admin Password on Windows Server

If the Plesk admin password window does not appear, follow these steps:

  1. Access the server using Command Prompt, Shell, or Terminal Server.
  2. Run the command below:
"%plesk_bin%"\plesksrvclient.exe -get

The command retrieves the Plesk administrator credentials directly from the system.

Conclusion

Using SSH or command-line access is the quickest way to recover Plesk admin credentials when the graphical password window fails to open.

If you require help, contact SupportPRO Server Admin

Facing issues?

Our technical support
engineers can solve it.

Contact Us today!
guy server checkup

You may also like

Leave a Comment