Skip to content

Instantly share code, notes, and snippets.

@jmsalcido
Last active June 5, 2020 23:31
Show Gist options
  • Select an option

  • Save jmsalcido/c4530e4eeae9df0a39bad3e3dbe17db6 to your computer and use it in GitHub Desktop.

Select an option

Save jmsalcido/c4530e4eeae9df0a39bad3e3dbe17db6 to your computer and use it in GitHub Desktop.

Revisions

  1. jmsalcido renamed this gist May 25, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. jmsalcido revised this gist May 25, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,6 @@
    7. Get on Digital Ocean web console
    8. WGET it.
    9. Append it to `$HOME/.ssh/authorized_keys` `cat $HOME/key.txt >> $HOME/.ssh/authorized_keys`
    10. be happy
    10. be happy
    11. ???
    12. PROFIT!!!1
  3. jmsalcido created this gist May 25, 2017.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    1. Digital Ocean console web access. [Important]
    2. `cp ~/.ssh/id_rsa.pub ~/key.txt`
    3. Dropbox it.
    4. Generate a public share link in dropbox
    5. Get something like this: `https://www.dropbox.com/s/{{id}}/file?dl=0`
    6. Replace the 0 to 1
    7. Get on Digital Ocean web console
    8. WGET it.
    9. Append it to `$HOME/.ssh/authorized_keys` `cat $HOME/key.txt >> $HOME/.ssh/authorized_keys`
    10. be happy