Re: Disabling Password authenitication with SSH

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




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

The config file for sshd is "/etc/ssh/sshd_config" You have modified the config file for the ssh client. Just make sure sshd_config has PasswordAuthentication No and restart sshd and you should be fine.

Barry
_______________________________________________
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