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