This seems to be a common problem, but my particular case seems a little different.
I installed a new instance of Amazon EC2 using command line tools and connected via SSH, and did some setup work.
Initially, although I could not connect to the instance, I had to stop and restart the instance, after which I was able to connect. Before rebooting, I received a response.
Permission denied (publickey).
That was last night, this morning I am returning to the same instance, and now all I get is
Permission denied (publickey).
I tried to reload the instance without joy.
Can someone point me in the right direction? The same team that worked last night doesn't work anymore, I'm connecting to my Macbook Pro.
ssh amazon-web-services amazon-ec2
Trevor Jan 28 2018-11-11T00: 00Z
source share