• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Permission Denied in SSH subdomain

jaumealcantarago

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian Version 18.0.56 Update #3
I try to access my subdomain from SSH but I get permission denied


1715095673011.png
 
Sí, todavía me da el mismo error, pero esto no ocurría antes.

Translation courtesy of admin:
Yes, I still get the same error, but this was not happening before.
 
Last edited by a moderator:
Make sure the permissions are correctly set for:
/var/www/vhosts/example.com/.ssh/authorized_keys to 644
/var/www/vhosts/example.com/.ssh to 700

Also make sure the PubkeyAuthentication option is set to yes in /etc/ssh/sshd_config.

If you make any changes make sure to restart the sshd service: service sshd reload
 
Now mi path ->
Code:
/var/www/vhosts/w3bcn.es/.ssh
1718897813918.png
and
Code:
/var/www/vhosts/w3bcn.es/.ssh/authorized_keys ->
1718897777358.png


I still have the same error
 
Hey,
I'm having exaxctly the same issue. All rights and permissions are set properly. Also the terminal is working for root at global settings page.
But for a specific user/domain its not working. :(
 

Attachments

  • Bildschirmfoto 2024-09-18 um 23.12.11.png
    Bildschirmfoto 2024-09-18 um 23.12.11.png
    271.7 KB · Views: 3
Could you please double-check the following permissions and provide us with the output:

/var/www/vhosts/example.com/.ssh
/var/www/vhosts/example.com/.ssh/authorized_keys

Thank you in advance.
 
Back
Top