• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved SSH Terminal Extension not working

Paolo Percassi

New Pleskian
Server operating system version
AlmaLinux 8.7 (Stone Smilodon)
Plesk version and microupdate number
Plesk Obsidian Version 18.0.48, last updated on Nov 18, 2022 12:51 PM
Hi,

I manage 4 Plesk Obsidian servers. In three of them SSH Terminal Extension works fine. In 4th server the Extension worked since two days ago. Now, opening SSH Terminal from Tool & Settings I receive a looping message:

[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Connecting via SSH to 4th server works normally if I connect from my MacOs Terminal or from any of the other my servers. Only from local extension won't work.

I looked file /etc/ssh/sshd_config comparing it between my servers, I reinstalled SSH Terminal Extension but the problem is always the same.

I also observed that, when I start the extension clicking Tools & Settings > SSH Terminal, Plesk regenerate the file root/.ssh/authorized_keys as well as they do all other 3 servers.

Any suggestion is welcome.

Thanks
Paolo
 
Thank you Peter,

yes, i've tried this but no solution.

It seems to me to be a problem in authenticating by Public Key but:
  1. the error messages refers that logging by "publickey" is active as well as other methods
  2. I've also tried to insert explicit "PubkeyAuthentication yes" in my sshd_config file
but... no solution.
 
O.k., summing it up then:
- SSH service is running
- SSH is working from the outside but not when Plesk SSH extension is trying it locally
- No limits on it are set in panel.ini
- Root access is permitted in sshd_config and sshd was restarted afterwards

I suggest to create a support ticket and allow supporters to check the issue directly on your server.
(30 days free trial)

Please also include a link to this thread in the support request.
 
Solved.

I found this entry in my /etc/passwd file:

plesk-ssh-terminal:x:985:985:plesk SSH Terminal:/usr/local/psa/var/modules/ssh-terminal:/usr/sbin/nologin

and I checked that this entry wasn't present before (I compared to a backup of 10 days ago).

So I removed the line from /etc/passwd file and my SSH Terminal inside Plesk returned to work fine.
 
Back
Top