Monthly Archives: March 2020

Asthma

By | March 28, 2020

This content has restricted access, please type the password below and get access.

Category: me

Connection closed port 22 when connecting to Amazon AWS EC2 via ssh

By | March 12, 2020

If you are getting a connection closed on port 22 when trying to connect to Amazon AWS EC2 server via ssh, the chances are the user name you are using is wrong. If you are following the instructions at: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html for the first time and you are confused at: ssh -i /path/my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com then you are… Read More »

Category: AWS

AWS Permissions are too open error when trying to connect to EC2

By | March 9, 2020

If you are trying to connect to an EC2 instance in AWS and you get the following permission error saying that your key file is too open…. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for ‘awskeypair.pem’ are too open. It is required that… Read More »

Category: AWS