Plesk

Cli Commands

Show all mail password

/usr/local/psa/admin/bin/mail_auth_view

MySql access (linux)

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

MySql Access (Windows):

"%plesk_dir%\MySQL\bin\mysql" -P3306 -uadmin -p

Show all FTP accounts and passwords

mysql > SELECT REPLACE(sys_users.home,'/var/www/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;