I have a Linux box running CentOS 5.2. I need to remotely connect to this server using putty.
How can I configure sshd to allow remote login and using Putty?
I have not been successful; the server does not accept my password even though it was correctly type
Software/Hardware used:
ASKED:
April 13, 2009 10:36 PM
UPDATED:
September 6, 2010 1:21 PM
If you are sure your password is correct, then probably your sshd is configured to accept only key authentication?
Look up the value of “PasswordAuthentication” option in your /etc/ssh/sshd.conf file – it should be yes, if you really want to log-in with a password.
There is another option which can prevent your password log-in if you are logging in as root – “PermitRootLogin” (see man sshd_config for details)
On my opinion, it’s OK to log-in with password as a regular user, but better use key authentication when logging in as root.
BR,