How to Enable Login With Password on Linux
Let’s update the Password Authentication parameter in the ssh service config file:
1vim /etc/ssh/sshd_config
Hey, what? You can't even find the sshd service?
Install it then:
1sudo apt update
2sudo apt install openssh-server
In the /etc/ssh/sshd_config
file, uncomment this line:
1#PasswordAuthentication yes
Boom! Done.
Oops! Don’t forget to reboot! 🙂
Or just run:
1sudo systemctl restart sshd
Happy networking!