LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sshd_config (https://www.linuxquestions.org/questions/linux-newbie-8/sshd_config-148048/)

eyt 02-19-2004 11:20 AM

sshd_config
 
Hi all,

Can we just allow only keys authentification for ssh connection. I don't
want user to use password authentification for connection to my server.



For the sshd_config, there is a parameter PasswordAuthentification
if we set it to yes, it allows password authentification even if keys authentification fails.

I try to set PasswordAuthentification to no, it still allows password authentification even keys authentification failed.

Thanks.

acid_kewpie 02-19-2004 11:33 AM

$100 says you've not restarted the sshd service on the server....

eyt 02-19-2004 12:05 PM

Hi acid_kewpie,

Thanks. I forgot to restart sshd.


All times are GMT -5. The time now is 03:26 PM.