• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue SSH wont start, error on starting

Gene Steinberg

Regular Pleskian
I have a VPS with the latest Plesk and AlmaLinux 9.3.

All of a sudden SSH doesn't work. It restarts with an error and a telnet to the server shows it can't reach port 22 (even though it's activated).

I used the host's console to login and ran a few things (see screen shot).

I assume removing and reinstalling SSH can help, but I am not finding clear instructions on doing that.

Can someone help?

Screen Shot 2024-01-26 at 7.26.48 AM.png
 
Did you follow the advice mentioned in the error and ran systemctl status sshd.service and journalctl -xeu sshd.service to get more details on the error?
 
I fond directions for removing Open SSH in AlmaLinux and did that, reinstalled. and was able to restart OpenSSH.

But Plesk opens with a 502 Gateway error. Sites work, but not SSH for logins. I can connect via host's remote console, though. A restart requires restarting MariaDB, but sites work.

So any directions to get past this are welcome.
 
Removing OpenSSH is not such a good idea. It would have been better to simply edit the faulty configuration file. Removing a service might result in other services that depend on it to no longer work.

Could you please explain what you mean by the 502 Gateway error? Do you mean that opening the graphical user interface shows that error so that you cannot see the login page, but see a 502 immediately? In that case you can try to toggle the psa service service psa stop && service psa start or you can try to toggle service sw-cp-server restart && service sw-engine restart. If this does not work, please try advice from this thread: Issue - sw-engine won't start
 
Back
Top