Welcome back to a series of blogposts about how to set up a little server in a Linux Virtual Machine, in this post we will lean about Github and SSH
Ensure that you have your GitHub account.
Before you start you should have a Github account.
Ensure that you have a repository created for testing.
If you followed the last part we had a web server created in node, we will use this. This will be our root.
Setup your GitHub two-factor authentication.
This part is a step forward process and Github explain it 100 times better than me, but I’ll explain it anyways in case you don’t want to move to another site. It’s really nothing from the other world, is more just following a series of steps:
Go tho the git setting and click in the security tab
Click the enable two factor button
Follow the steps in the site
⚠️ ⚠️ DONT FORGET TO SAVE YOUR RECOVERY CODES ⚠️⚠️
They send you a mai anyways
You are ready
Github SSH keys Setup
This is a little bit harder than the last step, the Github team explain it as well (
though some commands don’t work the same for ubuntu)