Skip to content

Instantly share code, notes, and snippets.

@vishwajeetio
Created November 21, 2020 06:40
Show Gist options
  • Save vishwajeetio/e851f9bf325c07807cf2e7b43e33314d to your computer and use it in GitHub Desktop.
Save vishwajeetio/e851f9bf325c07807cf2e7b43e33314d to your computer and use it in GitHub Desktop.
digital ocean cheatsheet

setting up a droplet

  1. reset password
  2. login to console with user as root and password from email
  3. open file nano /etc/ssh/sshd_config
  4. go to the very botton of file and find line with PasswordAuthentication and change its value from no to yes
  5. then run sudo service sshd reload
  6. come to local terminal and run ssh user@server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment