I've followed the steps in this tutorial: http://cuppster.com/2011/05/12/diy-node-js-server-on-amazon-ec2
but when I came to the step "push our local code changes to the remote repository" I got an error.
I'm running a Windows 7 pc and using putty to access my AWS EC2 instance. My Git client is msysgit.
When I try to push to ec2 I get the following error:
Pushing to ssh://email@example.com/home/ubuntu/repository Permission denied (publickey). fatal: The remote end hung up unexpectedly
I've tried using the almighty Google machine but I can't seem to type in the correct search terms to get an answer that works.
Any pointers that can make the push possible would be appreciated.