DEV Community

Discussion on: How to properly set up Git on your computer!

Collapse
 
netbzz profile image
NetBzz

I think you need a lower case 'k' as the parameter.

ssh-add -K ~/.ssh/id_rsa
unknown option -- K
-k Load only keys and not certificates.

Collapse
 
landonpatmore profile image
Landon Patmore

Hi NetBzz,

I took that directly from GitHub’s guide on how to create SSH keys.

It works perfect for me!

Collapse
 
marsavela profile image
Sergiu Marsavela

It works because you're using macOS. On any other Linux distro that uses OpenSSH will ask for the lowercase 'k'.