Generate SSH Key in your server
ssh-keygen -t ed25519 -C "[email]" -f ~/.ssh/[name]
Copy the key in the .pub
file and paste it in your gh access tokens
$ cat ~/.ssh/id_ed25519.pub
# Then select and copy the contents of the id_ed25519.pub file
# displayed in the terminal to your clipboard