Skip to content

re: How to properly set up Git on your computer! VIEW POST


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!


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

Hi Landon,

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

Thank you so much!!

code of conduct - report abuse