Connect GitHub to your machine using SSH

  1. check if you already installed or install git to your machine


  2. Setup your .gitconfig
    1. git config --global user.name "user"
      1. git config --global user.name
    2. git config --global user.email "your@gmail.com"
      1. git config --global user.email
  3. Check the existing ssh key files
    1. if it does not exist, add a new ssh key (refer)
      1. ssh-keygen -t ed25519 -C "your@gmail.com"
    2. determine which corresponding private key must be associated from your local computer
      1. eval "$(ssh-agent -s)"
    3. view ssh key
      1. cat ~/.ssh/id_ed25519.pub
  4. Add a new key to GitHub Account
    1. refer

Comments

Popular posts from this blog

Install Ubuntu (20.04.1 LTS) with Windows (Dual boot mode)

How to Mirror Android Screen to Ubuntu(GNU/Linux) Desktop With Scrcpy