To enable SSH password login on Fedora 40, follow these steps:
Step 1 : Open the sshd_config file.
Step 2 : Edit the PasswordAuthentication parameter to 'yes'.
Step 3 : Save the changes and exit the editor.
Step 4 : Restart the SSH service.
Step 5 : Test the connection to ensure that password authentication is enabled.
Congratulations! You have successfully enabled SSH password login on Fedora 40.