3 ms·
Great guide, thanks. 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
by vailripper 15y ago
Great guide, thanks.
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?
- cmurphycode 15y agoIf you're having issues with ssh picking up your keys, you can always call it out explicitly: ssh -i path/to/key.pem ec2-user@blah.amazonaws.com
- cuppster 15y agoif you're using an ubuntu image, it's going to be the ubuntu user: ssh -i path/to/key.pem ubuntu@blah.amazonaws.com Spent too much time figuring that out the hardway...