EC2 connection error in particular zones viz. Canada. Ireland and Mumbai

0

Getting 'connection timed out' error on connecting ec2 instance by Putty, made in some particular aws zones viz. Canada, Ireland and Mumbai.

Even though the same method works while connecting an ec2 made in n virginia or ohio.

Edited by: absl on Mar 19, 2019 2:58 AM

Edited by: absl on Mar 19, 2019 8:56 PM

absl
asked 5 years ago231 views
1 Answer
-1

I figured it out.
Whenever using a previously ever unused key to make an instance, it shall be first kind of activated by running the following command from a mac or linux command line.
Go to the path where the '.pem' file for the key is kept and run

chmod 400 key_file.pem

Then freely use this key and any '.ppk' file generated from it to connect from windows.

absl
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions