For Linux:
1. Connect via SSH as root user and run the command: plesk login
Running the following command will generate a one-time link: one to access Plesk by hostname, the other by the server IP address:
2. Password reset
Run the command below, replacing ***** with the new password
plesk bin admin --set-admin-password -passwd '*****'