Symptoms
-
On a Plesk for Linux, opening SSH Terminal in Domains > example.com fails:
Connection Failed
Connection to the plesk-ssh-terminal service failed. Try reconnecting or ask your service provider to make sure the plesk-ssh-terminal service is running. -
In the SSH service configuration file
/etc/ssh/sshd_config
, the optionPermitRootLogin
is set tono
:# grep PermitRootLogin /etc/ssh/sshd_config
PermitRootLogin no
There can be couple of PermitRootLogin
like follows:
# grep PermitRootLogin /etc/ssh/sshd_config
PermitRootLogin no
PermitRootLogin yes
Cause
Bug PPPM-14124 which was fixed in Plesk Obsidian 18.0.56 (version 1.3.3 of the SSH Terminal extension).
Resolution
Update both Plesk and SSH Terminal extension to the latest versions.
-
Connect to the server via SSH.
-
Download the patched file:
# wget https://support.plesk.com/hc/en-us/article_attachments/17137565398807
-
Backup the file to be fixed and replace it with the patched one:
# cp -ap /usr/local/psa/admin/plib/modules/ssh-terminal/library/Visibility.php{,.old} && cp -f 17137565398807 /usr/local/psa/admin/plib/modules/ssh-terminal/library/Visibility.php
Comments
0 comments
Please sign in to leave a comment.