Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
Unable to connect to a server via SSH using Plesk SSH Terminal extension:
SSH: connect to host 127.0.0.1 port 9999: Connection refused
Cause
Direct change of SSH service port number was not applied for Plesk SSH Terminal extension.
Resolution
-
Connect to the server via SSH.
-
Execute below command to re-read SSH service configuration:
# /usr/local/psa/admin/sbin/modules/ssh-terminal/installer --update-configuration
-
Restart
plesk-ssh-terminal
service to apply changes:# systemctl restart plesk-ssh-terminal
Comments
1 comment
I'm trying to troubleshoot why Plesk is not allowing SSH access from the Plesk Terminal *or* from Lightsail Terminal. But this page is telling me that to enable SSH Terminal access, I need to make changes from within SSH Terminal. How do I *enable* SSH access to begin with?! (Yes, I know it was on by default, but someone made an unknown previous change that I am trying to reverse.)
Please sign in to leave a comment.