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?
Assuming a *nix server (which would be good info to have), modify the /etc/ssh/sshd_config, setting PasswordAuthentication to no.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago