I spun up a new instance through the AWS marketplace and created key pair.
I ran sudo chmod 400 keypair.pem
When i run ssh -i keypair.pem ec2-user@ec2-public-dns.com
I get the following message:
Connection closed by 54.xxx.xxx.43 port 22
I have tried a few times now with 6 different key pairs. I keep getting the same error.
My IAM access and secret are in the ~/.aws/credentials file and I am able to ssh into other running instances. Just not the neo4j instance.
Any help would be greatly appreciated.
Thanks