Articles → DEVOPS → Enable password authentication in the Linux systemEnable password authentication in the Linux systemIn this article, we will enable password authentication in the Linux system.Steps To enable password authentication. 1. Login to the virtual machine using MobaXTerm. 2. Go to the SSH folder using the following command.cd etc/ssh 3. Open the sshd_config file using the following command.vi sshd_config 4. Open the file in insert mode by pressing the "i" key. 5. Change the attribute value of "PasswordAuthentication" from "no" to "yes".Click to Enlarge 6. Save the sshd_config file using the command below.
Press Enter 7. Restart the service using the following command.
service sshd restartOutput Click to EnlargePosted By - Karan Gupta Posted On - Tuesday, November 17, 2020
Your Email Id
Characters remaining 250
service sshd restart