Articles → LINUX → Enable Password Authentication In The Linux System
Enable Password Authentication In The Linux System
Steps
- Login to the virtual machine using MobaXTerm.
- Switch to the admin mode using the following command
- Go to the SSH folder using the following command.
- Open the sshd_config file using the following command.
- Open the file in insert mode by pressing the "i" key.
- Change the attribute value of "PasswordAuthentication" from "no" to "yes".
Click to Enlarge
- Save the sshd_config file using the command below.
SHIFT ESC
:wq
Press Enter
- Restart the service using the following command.
Output
Click to Enlarge
| Posted By - | Karan Gupta |
| |
| Posted On - | Tuesday, November 17, 2020 |
| |
| Updated On - | Tuesday, January 31, 2023 |