Created
February 1, 2020 09:46
-
-
Save sagar290/33b916dfe72ecd9df15466e0a1a7eef3 to your computer and use it in GitHub Desktop.
enable ssh PasswordAuthentication
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Log in as root | |
| #Edit ssh config: | |
| sudo nano /etc/ssh/sshd_config | |
| #Change this line: | |
| PasswordAuthentication no | |
| #to | |
| PasswordAuthentication yes | |
| #Restart daemon: | |
| sudo systemctl restart sshd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment