Last active
April 16, 2021 15:13
-
-
Save UbuntuEvangelist/1bdaec22e3f6c646540391441cb1b5e0 to your computer and use it in GitHub Desktop.
Day 9 Training Session
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# YouTube: https://www.youtube.com/watch?v=G7T1Cim0xos | |
# Part: 1 | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt update | |
sudo apt install git | |
sudo git config --global user.name "YourName" | |
sudo git config --global user.email [email protected] | |
git --version | |
git config --list | |
Part: 2 | |
sudo -i | |
ls -al ~/.ssh | |
# YOu will see ls: cannot access '/root/.ssh': No such file or directory | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_rsa | |
ls -al ~/.ssh | |
cat /root/.ssh/id_rsa.pub | |
# copy content and add a new SSH key to your GitHub account as says here- https://help.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account | |
Part: 3 | |
# we will use this repository https://github.com/SchoolOfFreelancing/BackOffice | |
# for clone | |
git clone https://github.com/SchoolOfFreelancing/BackOffice.git | |
# To SSH into remote cloud Linux server | |
ssh [email protected] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment