PuTTY password access denied [closed]
There are only four potential problem I can think of (most of which have been covered already):
You're not connecting to the right server.-
If you're using an IP address, check it.
-
If you're using a host name, verify that it's pointing to the right IP address and/or try the IP address instead.
-
The fact that you have root access doesn't mean you can actually log in as root. It only means that you have an account with root privileges (normally via sudo).
-
If you're not entering the username manually, make sure Connection → Data → Auto-login username is actually set to root.
-
Check the password you're entering.
-
Verify that CapsLock is disabled.
-
Verify that PuTTY uses the proper keyboard layout.
-
Instead of Ctrl+V, try copying the password, then click inside the console and right click.
-
If you use AltGr, make sure Terminal → Keyboard → AltGr acts as Comopse key isn't checked.
-
If none of the above works, clear the field Connection → Data → Auto-login username (assuming it is set) and enter the password in the username field to verify it gets entered correctly.
Some SSH servers can disable SSH logins for certain users and may even disable root logins by default. If you're using Open SSH server, you have to edit /etc/ssh/sshd_config
and make sure that it doesn't contain one of the following lines:
PermitRootLogin no
PermitRootLogin without-password
Both result in a simple Access denied. error, although they permit you to enter the password. The latter only allows root logins when authenticating using public keys.
To permit root logins, remove the corresponding line or replace it with the following:
PermitRootLogin yes
See man sshd_config for further information.