git ubuntu ssh key code example
Example 1: github private key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: add ssh to github
$ clip < ~/.ssh/id_ed25519.pub
# Copies the contents of the id_ed25519.pub file to your clipboard
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
$ clip < ~/.ssh/id_ed25519.pub
# Copies the contents of the id_ed25519.pub file to your clipboard