• 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.

Resolved can't access ssh as root

crazyalf

New Pleskian
It's ok the sites on the server are functional and Plesk is fully accessible

Problem Hi have a serious problem with my server because don't connect with login e psw root in SSH.

I access as rescue mode, I change the password, but I do not access in normal mode. I cannot access via ssh with the passwords and user 'debian' provided by ovh. do i have a lock?

Terminal show me "Permission denied, please try again.".

I'm using Plesk Obsidian v18.0.43_build1800220414.18 os_Debian 10.2 on VPS OVH

Thanks
 
hello @crazyalf ,

to solve your initial problem you can try to install a Plesk extension called 'web ssh terminal', it is free.
probably you need to update /etc/ssh/sshd_config and change
'PermitRootLogin no' to 'PermitRootLogin yes' and restart sshd service.

as about inability to login under debian account provided by ovh
probably you should use ssh key authentication (login with password prohibited in sshd_conf)
 
When I start the extension you mention, "root" does not appear on the screen. I put "sudo passwd root" to change the password, and it asks me for the d3b14n password. I write it and it tells me that passwd: Authentication token manipulation error

I type "su root", and paste the password and it gives me an error.

I write the commands you tell me, and it shows this (pic)



How can I fixed it? Thanks.
 

Attachments

  • Captura de Pantalla 2022-04-19 a las 12.09.08.png
    Captura de Pantalla 2022-04-19 a las 12.09.08.png
    46 KB · Views: 22
not sure about login command, but
sudo su -
should elevate current user to root (if it is allowed, of course)

so, I still agree with Rasp , that OVH should be contacted for clarification.
 
Fixed!

To solve it, the following steps

1- Rescue mode
2- use SSH to connect to your server on rescue mode.
3- The reboot will generate temporary access codes (password) for the Rescue Mode session. It will be sent to your email.
4- fdisk -l
5- mount /dev/sdb1 /mnt
6- chroot /mnt
7- passwd root & New Password
8- We return to the OVH panel and restart to exit rescue mode.
 
Back
Top