uknowngithubuser
10/20/2018 - 4:51 PM

SSH Key #ubuntu #shell

SSH Key #ubuntu #shell

# SSH Key

echo "Setting up SSH Key"

# Updateing the system
sudo apt-get update

# Prerequisites
sudo apt install -y xclip

# Setting up SSH Key
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub | xclip
xclip -o

echo "Copy this SSH Key to your Gitlab/Github Account"