Another bad day. I have all the configuration for my ec2 instance. Till yesterday I was able to connect it via ssh on mac. but know why it's not getting connect now.
I'm using below steps as usual and I'm same directory where mypleaks-inst.pem kept.
Another bad day. I have all the configuration for my ec2 instance. Till yesterday I was able to connect it via ssh on mac. but know why it's not getting connect now.
I'm using below steps as usual and I'm same directory where mypleaks-inst.pem kept.
My guess: Your security group that was applied was "launch-wizard-2" which by default sets exlusion rules. You need to associate that EC2 instance with one of the two security groups listed in your second screen shot to allow TCP connections on port 22 from inbound ip range. OR you could modify launch-wizard-2 to incorporate the relevant rules to allow for ssh connection.
if you're sure nothing was changed on AWS side then perhaps your SSH service is down temporarily or permanently (the server was overloaded? You can do it with ease with T2.small). Check NACL and routing, otherwise.