Plesk – regain access to the admin panel via shell

Today I had to regain access to the admin panel of one of my root servers that uses Plesk as administrative panel. I had configured a IP restriction for the panel under Tools and Settings > Restrict Administrative Access. The problem was, that I wanted to access the machine from outside of the company network (my […]

PHP version paths under Plesk ODIN

The different PHP versions unter Plesk ODIN are situated in /opt/plesk/php/. So the PHP paths are for example:  /opt/plesk/php/5.2/bin/php /opt/plesk/php/5.3/bin/php /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.5/bin/php /opt/plesk/php/5.6/bin/php /opt/plesk/php/7.0/bin/php Which PHP versions are available depends on the versions installed. You can see your installed versions under https://yourdomain.com:8443/admin/php-handler/list/ in the Plesk backend.

Plesk – move aliases to different domain

If you have read my article Plesk – get information about aliases you already know how to determine the aliases in the system. To get a list of configured domains, you can use the following query after connecting to the Plesk database via key: mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa mysql> select * from domains; This will give […]

MySQL root-user and password under Plesk Parallels

Plesk changes the root user name to admin and stores the corresponding password in /etc/psa/.psa.shadow. The value inside this file looks really strange – like an encrypted key or hash. But that’s really your password for the admin user! If you’re lazy – like me – you can login as admin like that: $> mysql -uadmin […]

Plesk Parallels add authorized keys authentication

In Parallels Plesk 9.x, 10.x and 11.x for Linux (in this case CentOS 6.6) there is a bug. You can not authenticate via ssh key or add one f.e. with: $> ssh-copy-id -i .ssh/deploy_rsa.pub user@ask-sheldon.com Thats why you have to do this: Edit ssh deamon configuration: $> sudo nano /etc/ssh/sshd_config Add the following line: AuthorizedKeysFile […]