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
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,
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 2  Replies