I am having trouble connecting to aws ec2 instance. Here are the details.
Instance Details
AMI: ubuntu/images/ebs/ubuntu-quantal-12.10-amd64-server-20121218 (ami-422ea672)
Zone: us-west-2b
Security Groups: dev. view rules
Type: t1.micro
Security Group
Ports Protocol Source
0-65535 tcp 0.0.0.0/0
0-65535 udp 0.0.0.0/0
-1 icmp 0.0.0.0/0
22 tcp 106.76.139.164/32
I have also added my local ip range in inbound tcp rules for ssh.
Error Message
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ec2-54-245-168-248.us-west-2.compute.amazonaws.com [54.245.168.248] port 22.
debug1: connect to address 54.245.168.248 port 22: Connection timed out
ssh: connect to host ec2-54-245-168-248.us-west-2.compute.amazonaws.com port 22: Connection timed out
I can successfully ping the instance. I have initiated ssh connection before on my older account and I faced no problems.
** Things that I have already tried **
- Terminating and Creating a new instance. Didn't work!
- Opening all TCP, UDP, ICMP connections. Didn't work!
- Associating an elastic IP and using Elastic IP for connection. Didn't work.
- Deleted ssh config file. Didn't work.
