Skip to content

Instantly share code, notes, and snippets.

@sagar290
Created February 1, 2020 09:46
Show Gist options
  • Select an option

  • Save sagar290/33b916dfe72ecd9df15466e0a1a7eef3 to your computer and use it in GitHub Desktop.

Select an option

Save sagar290/33b916dfe72ecd9df15466e0a1a7eef3 to your computer and use it in GitHub Desktop.
enable ssh PasswordAuthentication
#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