Running Ubuntu, in case that's relevant.
I already have a Github account, with my public key added, and I'm making a move from Windows to Ubuntu. I went through all the necessary steps to get my credentials setup, then (wisely) cloned a repo of mine into the .ssh directory. Everything worked fine, but...that's not where I want it to be, of course. So I removed the directory I cloned into, actually tried it from the directory where I wanted it to be, and I get:
rich@ubuntu:/opt/lampp/htdocs$ sudo git clone git@github.com:Polisurgist/introRecorder.git
Cloning into 'introRecorder'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
So for some reason it's able to use my key, but only when I'm cloning into the directory that contains my key. I'm sure I'm missing a step that tells git where to find the key, but I don't know what that step is.