Generating public/private rsa key pair.
Enter file in which to save the key (/Users/jlynch/.ssh/id_rsa):
new ssh key section (when creating the droplet, click new SSH key
Setup Github SSH Key
Tunneling Into The Server
Adding A New User
New Key Way
Enable UFW Firewall
First, run this to make sure you are using OpenSSH:
Then run this command to allow OpenSSH (so that you don't lock yourself out of your own server! hehe)
Login As New User
Getting the Code
In this case, let's call ssh-add with out authorized keys file.
Now, let's clone the project (make sure to use the SSH url provided by the "clone or download" button on Github and not the HTTPS one).
Automatically Adding the Key to Your Keychain On Session Login (And Automatically Revoking It On Logout)
However, after naively taking the advice of this output I run the command and get the error that apt was, "Unable to locate package nodejs".
The issue was that I needed to update apt first:
Testing The Cron Scripts On The Server
Scheduling the Cron Jobs
Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
Choose 1-4 :
Staying Organized With Your Logs
Fixing Some Node Permissions Issues
Fixing NVM Permissions Issues
Updating the Date And Timezone
Now Set It Loose
And of course you can always come back and use this post as a reference. ?