DEV Community

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

Collapse
 
marengunnars profile image
Maren Gunnarsdóttir

Thanks for an easy to follow tutorial!

At step 5 in "Generating a SSH Key" when I write "ssh-add -K ~/.ssh/id_rsa" I get the error "ssh-add: unknown option --K", do you know how to deal with this?

I'm new to git and can't find anything when searching for the error.
I hope you can help!

Collapse
 
landonpatmore profile image
Landon Patmore

Hi Maren,

As the error says, you wrote “—K” instead of “-K”. If it throws you an error even with that, try “-k”.

Hope it helps.

  • Landon
Collapse
 
marengunnars profile image
Maren Gunnarsdóttir

Hi Landon,

That was exactly the help I needed!
My problem is now solved :)

Thank you so much!!