How can I clone my GitHub private repository onto a new computer?

Hello,

Since I develop from two locations, I’d like to have local repositories on two different computers. I currently have it on one. But when I try to clone it onto my new computer, I’m refused permission.

Do I have to copy my public SSH key over to the new computer before I can clone the repository? Or is there another way?

Thanks,

LRP