How to Enable SSH Password Login on CentOS 7

Apr 01, 2024

To enable SSH password login on CentOS 7, follow these steps:

Step 1 : Open sshd_config

sudo nano /etc/ssh/sshd_config

Step 2 : Edit PasswordAuthentication to yes

PasswordAuthentication yes

Step 3 : Restart SSH service

sudo systemctl restart sshd

Step 4 : Test Connection

ssh username@your_server_ip

Congratulations! You have successfully enabled SSH password login on CentOS 7.