Articles in this section

Unable to connect via SSH using Plesk SSH Terminal extension: Connection refused

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

  1. Connect to the server via SSH.

  2. Execute below command to re-read SSH service configuration:

    # /usr/local/psa/admin/sbin/modules/ssh-terminal/installer --update-configuration

  3. Restart plesk-ssh-terminal service to apply changes:

    # systemctl restart plesk-ssh-terminal

Was this article helpful?

Comments

1 comment
Date Votes
  • 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.)

    0

Please sign in to leave a comment.