Configuring SSHD to allow remote login to CentOS 5.2 using Putty
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

Answer Wiki:
You need to first assign a public static ip address to your CentOS server. Then you can directly use putty by mentioning IP address and default port number 22 selecting ssh option. Then type password which will allow you to login to server remotely.
Last Wiki Answer Submitted:  September 6, 2010  9:59 am  by  Ankitxanant   15 pts.
All Answer Wiki Contributors:  Ankitxanant   15 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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,

 3,120 pts.