Open xgqfrms opened 4 years ago
https://help.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# save path
$
Copy your public SSH key to the clipboard by using one of the commands below depending on your Operating System: macOS:
$ pbcopy < ~/.ssh/id_ed25519.pub
WSL / GNU/Linux (requires the xclip package):
$ xclip -sel clip < ~/.ssh/id_ed25519.pub
Git Bash on Windows:
$ cat ~/.ssh/id_ed25519.pub | clip
You can also open the key in a graphical editor and copy it from there, but be careful not to accidentally change anything. NOTE: Note: If you opted to create an RSA key, the name might differ.
git & SSH keys
https://github.com/settings/keys