Re:DIY node.js server on Amazon EC2
by cmurphycode on Tuesday May 17, 2011 @07:18PM
(#2558386)
If you're having issues with ssh picking up your keys, you can always call it out explicitly:
ssh -i path/to/key.pem [email protected]
if you're using an ubuntu image, it's going to be the ubuntu user: ssh -i path/to/key.pem [email protected]
Spent too much time figuring that out the hardway...
One issue I've run into trying to push from my windows 7 machine to my instance is a "Permission denied(publickey)" error, which I assume is due to a missing SSH key in git for my ec2 instance? Does anyone know how to tell the ec2 alias to use my instance private key when connecting?