Disabling Password authenitication with SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello everyone,

We are setting up a server at work, and we have run into something that
I am not sure how to resolve.

We have set up sshd (OpenSSH server) on the machine. We have placed ssh
keys into each user's home directory that needs to access the system
(and they work). We want to disable everyone from logging in, using a
password, utilizing ssh keys only to access the system.

I have modified /etc/ssh/sshd_conf to have these settings:
    ChallengeResponseAuthentication no
    PasswordAuthentication no
    UsePAM no

I then restarted the ssh daemon (/etc/init.d/sshd restart), but it still
allows the user to login using their password. What am I missing?

Searching google, only turned up the changes that I made above, so I am
unclear what else that I need to do. Any guidance would be greatly
appreciated. 
--
Doug

Registered Linux User #285548 (http://counter.li.org)
----------------------------------------
Random Thought:
If all else fails, immortality can always be assured by spectacular error.
		-- John Kenneth Galbraith

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux