Hi, I'm following tutorial from here: http://www.howtoforge.com/ssh_key_based_logins_putty_p4 This thing works great thank you very much. However it is said in the tutorial: I followed the tutorial verbatim but one problem is I can still login with normal root and password. I can now login via 2 method which is using Key-Based and normal login. How to forced the server to accept only key based login? I also edit this sshd_config file: Code: [...] Protocol 2 PasswordAuthentication no UsePAM no [...] but unfortunately there's no change?? Any help is appreciated. Thank you.
Hi Please elaborate more with details kie your OS. & paste the syslog or messages which ever is appropriate. Br// Srijan
OK found the culprit. I change the #PasswordAuthentication to no but I dont comment out the line. Remove the default hash and it works: Code: PasswordAuthentication no Thanks srijan for trying to help me