Whenever I try to do a 'git pull origin master' I get (It is NOT Github):
Permission denied (publickey).
I am able to SSH into my AWS EC2 Linux sever, which has the bare repository, which I'm trying to pull from when I get the aforementioned permission error.
I have indeed copied the public key to that server, because I can login successfully via ssh, but only by doing a:
ssh -i /location/of/pemkey/mykey.pem ec2-user@ec2-12-34-56-78.us-east-compute.amazonaws.com
I need to configure Git to use my '.pem' key. How do I accomplish setting up Git to utilize my '.pem' key?