Hi, I have a problem when Im trying to connect my RaspberryPi 1 Model B+ with my pc via SSH over WIFI. I put the correct ip and user (root) on Putty or in Kitty but when im going to put de password (dietpi) it says "access denied ". This happens with OpenSSH and Dropbear. I have installed other things, for example, owncloud, wordpress, lxde or Transmission and those work perfectly.
The problem is likely that your keyboard settings are wrong and you created a strong password with a character…
The character you are using from SSH does not match what it thinks the password is.
To fix:
Log into your Pi locally with a keyboard.
Run the dietpi-config command.
Navigate to Language/Regional Options.
Navigate to Keyboard Change Keyboard Layout Setting.
Set your correct keyboard type.
Usually defaults to Generic 105-key (Intl) PC, if in US then you may want to use something like Generic 104-key PC instead.
Select the correct layout.
This usually defaults to English (UK). If you are in the US then you DEFINITELY want to select other and choose English (US) instead.
Save settings and reboot.
Log in locally again and type out some special characters to verify settings now look correct.
If correct, run the passwd command and reset your password.
Test via SSH to verify you can now log in with the password you just set.