cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Unable to ssh into community edition Neo4J ec2 instance

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

1 ACCEPTED SOLUTION

Vinoth
Node Clone

Hi, I believe the neo4j instance is on ubuntu OS. Can try the user name as "ubuntu" and see.

View solution in original post

2 REPLIES 2

Vinoth
Node Clone

Hi, I believe the neo4j instance is on ubuntu OS. Can try the user name as "ubuntu" and see.

Thank you Vinoth! That worked. That was dumb on my part.