I created a pub/pri key combo with putty. In putty I can set where the private key is, and login that way. BUT if I dont set my pri key , the server still asks for my password and lets me login. How do I prevent this?

link|improve this question

64% accept rate
feedback

1 Answer

up vote 3 down vote accepted

Assuming a *nix server (which would be good info to have), modify the /etc/ssh/sshd_config, setting PasswordAuthentication to no.

link|improve this answer
Got it 10 secs ago :) Thanks – mike628 Jun 23 '11 at 1:25
1  
...and restart SSHD. – dmourati Jun 23 '11 at 3:33
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.