i just started a Git tutorial and I get to a deadend: I try to generate a rsa key part and it fails. I did this, in git bash:
ssh-keygen -t rsa -C \"myemail@myem
For Linux on terminal use:
ssh-keygen -t ed25519 -C ""
this generate new modeled key. Or can create as:
ssh-keygen -t rsa -b 2048 -C "any comment"
Then continue following terminal.. give any name to the file as asked Again follow it with empty passphrase..and continue
Then goto the /home/user/.ssh/id_ed25519 or /home/user/.ssh/id_rsa (is hidden file..look by doing ctrl+h to unhide hidden file) and copy it to gitlab => profile => setting => ssh => create new key there by pasting copied key and NOTE: public key always starts with ssh. Enjoy! Help:gitlab-Help