// troubleshooting guide · ovhcloud

OVH VPS SSH Permission Denied (Can't Log In as Root)

Status
Workaround available
platforms:
Linux VPS
updated:
November 16, 2026
reports:
3
Method
how we research
Share

RUNBOOK · ovhcloud/vps-ssh-permission-denied5 FIXES

// quick answer

New OVH VPS ranges send credentials for a sudo user, not root, and SSH refuses root logins. Log in with the user from the email and run sudo; if the password is lost, reset it from rescue mode.

Most likely fix: Log in with the emailed user

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Log in with the emailed user

    1. 01Check the delivery email for the username (often the distro name, e.g. ubuntu or debian)
    2. 02ssh <user>@<vps-ip>
    3. 03Run sudo -i to get root
    Did this fix it?
  2. FIX 2Find the email in the Control Panel

    1. 01Open your account > Emails received
    2. 02Look for the VPS installation email
    Did this fix it?
  3. FIX 3Reset the password via rescue mode

    1. 01Control Panel > your VPS > Boot > Reboot in rescue mode
    2. 02SSH in with the temporary rescue password
    3. 03Mount the disk and chroot, then run passwd <username>
    4. 04Reboot in normal mode from the Control Panel
    Did this fix it?
  4. FIX 4Use the KVM console

    1. 01Open the KVM console from the VPS page
    2. 02Check whether the server boots and whether SSH is running
    Did this fix it?
  5. FIX 5Reinstall with an SSH key

    1. 01Reinstall the OS from the Control Panel
    2. 02Add your public SSH key during install
    Did this fix it?

SANDBOX · ovhcloud RUNS IN YOUR BROWSER

Try it: deploy an app, add a domain and watch the bill

A hands-on OVHcloud-style sandbox, including the spots where users get stuck. See where problems like this one start. 1-2 minutes, nothing is saved.

Symptoms

SSH says 'Permission denied' for root, the password from the email does not work, or the credential email never arrived.

Why it happens

  • C-01Root SSH login is disabled on current VPS ranges
  • C-02Logging in as root instead of the emailed user
  • C-03Credential email not sent or filtered
  • C-04SSH key provided without a password, forcing a reset at first login

// this guide also covers

  • ovh vps ssh permission denied
  • ovh vps root login
  • ovh vps password not received
  • ovh ssh connection refused

Still not working?

If OVHcloud keeps failing, you're not alone. See every OVHcloud problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch OVHcloud Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All login, account & activation guides →

Other OVHcloud errors

All 13 OVHcloud errors and fixes →