github set up ssh key linux code example
Example 1: genrate shh key github
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: how to create ssh key for github
$ eval "$(ssh-agent -s)"
> Agent pid 59566
Example 3: New SSH key Github
$ ssh-keygen -t ed25519 -C "[email protected]"
Example 4: add ssh to github
$ clip < ~/.ssh/id_ed25519.pub
# Copies the contents of the id_ed25519.pub file to your clipboard