Troubleshooting

Why is my password not accepted?

Fix an SSH password that the server refuses in Wardterm: check the user and the password, then whether the server allows passwords for that account.

What you see

The app shows The server did not accept the password. The details say:

authentication failed for deploy@203.0.113.10

In the Connection log the attempt shows as Failed, wrong password or key.

Why it happens

The user name or the password is wrong, or the server does not accept passwords for that account. Many servers allow only keys, and many refuse the root user over SSH.

What to do

  1. Open the server and check the User. It is the account on the server, not your email.
  2. Type the password again. If the server uses a saved login, change it once in Keys and every server that uses it gets the new password.
  3. If the server asks a second question, such as a one-time code, the app shows it: answer it there.
  4. Check whether the server accepts passwords:
    sudo sshd -T | grep -E 'passwordauthentication|permitrootlogin'
    If passwordauthentication no, sign in with a key: see SSH keys.
  5. Read the last lines of the server's log to see why it refused:
    sudo journalctl -u ssh -u sshd -n 50
  6. After many wrong attempts, some servers block your address for a while. Wait, or ask the administrator to unblock it.