ssh-keygen -t ed25519 -f github.com
ssh-add ~/.ssh/github.com
# save the keys to the cloud or somewhere where you will not lose them
#Now make an ssh config file
# https://garywoodfine.com/use-pbcopy-on-ubuntu/
sudo apt-get install xclip -y
nano ~/.bashrc
# insert at the end of the .bashrc file
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
eval "$(ssh-agent -s)"
# save the file
source ~/.bashrc
pbcopy < ~/.ssh/github.com.pub
# https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh
# Adding a new SSH key to your GitHub account
# To configure your GitHub account to use your new (or existing) # SSH key, you'll also need to add it to your GitHub account.