Lost Plesk ftp login details. Plesk recover ftp password guide Linux.

Plesk recover ftp password guide.

1. Login to the server using SSH using your SSH client and login to MySQL.

mysql -uadmin -p`cat /etc/psa/.psa.shadow`

2. Run the following MySQL query.

SELECT REPLACE(sys_users.home,’/home/httpd/vhosts/’,”) AS domain,┬ásys_users.login,accounts.password FROM sys_users
LEFT JOIN accounts on sys_users.account_id=accounts.id
ORDER BY sys_users.home ASC;

Unfortunately the width of this page dumps this to multiple lines, however its a one liner!

This will now display a list of all the FTP accounts including the login details.

 

Linux, Plesk Linux, Virtual & Dedicated Servers

Leave a Reply

Your email address will not be published. Required fields are marked *

6 − 2 =