Why does SSH say "Permission denied" when my password is right?

1 min read|Updated Nov 24, 2026

Short answer

The server is reachable but rejected the login. Usually the username is missing (use root@IP), the pasted password picked up a space, or the password changed after a reinstall. Paste it again from the server page and force a password login with -o PubkeyAuthentication=no.

  1. 01

    Use root as the username

    : ssh root@IP. Plain ssh IP sends the username of your own computer.

  2. 02

    Paste the password

    from the server page. Nothing appears while you type or paste it in a terminal; that's normal. Press Enter.

  3. 03

    Force a password login

    if you also have SSH keys: ssh -o PubkeyAuthentication=no root@IP. It skips your keys and asks for the password directly.

  4. 04

    Reinstalled the server?

    A reinstall sets a new password, shown on the server page. A password you changed yourself isn't on the server page.

  5. 05

    Turned off password logins and lost your key?

    Then a password can't get in. A reinstall erases the disk and sets a new password, so ask support before you do it.

Did this solve it?

The full guide

Can't SSH Into Your VPS? Fixes for 6 Common Errors

8 min read

Related questions

Still stuck? Message support