• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Can't connect to server over SSH

apaunovski

Basic Pleskian
I can't connect to my Plesk server over ssh. I get a connection refused error.

Without SSH access I am not sure how to troubleshoot the error.

Please help.
 
That's the issue. Who is your provider? Do they have an external firewall?
 
No, the server is not behind another firewall.

I think I have messed up (maybe) the settings of the server firewall. Is there a way to change the firewall settings from within PLESK ? I looked for such a setting in the interface, but couldn't find it under "security".
 
Are you talking about iptables?

If you enable the Plesk firewall, they will override iptable rules.
 
IPTables.

I am not sure if Plesk's FW is enabled or not, as I cannot find the settings for the firewall in Plesk's interface.


I have Plesk Web Admin Edition, maybe that's the reason ? I don't have access to all the settings, maybe ?
 
<IP or hostname>:8443/admin/scheduler/add-task

Through this link you can execute commands as root and try to recover SSH access from there. >>> ftp://ftp.iitb.ac.in/LDP/en/solrhe/chap15sec122.html

Anyway, what intrigues me was how you managed to lose SSH access. You can try to change the SSH port as well and release it on the firewall. Are you sure SSH is using port 22?
 
Back
Top