How to Enable SSH Password Login on Rocky Linux 9

To enable SSH password login on Rocky Linux 9, follow these steps:

Step 1 : Open the sshd_config file

Step 2 : Locate the line that says PasswordAuthentication and change it to yes

Step 3 : Save the changes and exit the editor

Step 4 : Restart the SSH service

Step 5 : Test the connection

Congratulations! You have successfully enabled SSH password login on your Rocky Linux 9 system.