To enable SSH password login on CentOS Stream 10, follow the steps below.
Step 1 : Use a text editor to open the SSH server configuration file. Run the following command:
Step 2 : Enable Password Authentication
Locate the line:
Uncomment it (remove the #
) and change the value to yes
:
Save and exit the editor.
Step 3 : Restart the SSH daemon to apply the changes:
Step 4 : From another system, try connecting to your CentOS server using an SSH client:
You should now be prompted to enter your password for authentication.
Congratulations! You have successfully enabled SSH password login on CentOS Stream 10.