0
May be i have forgot something because I am using AWS after a long time, i am sorry if i am making some stupid mistake.Here is what i am doind:
- I launched Amazon Linux AMI(ami-fdb8229e).
- Added ssh port (22) for my ip address to the inbound rules in the associated security group.
- Changed the permissions of identification file to 400.
- When i try to connect to instance using "ssh -vvv -i "Firstsetup.pem" ec2-user@ec2-52-221-218-255.ap-southeast-1.compute.amazonaws.com" i am getting output
OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "ec2-52-221-218-255.ap-southeast-1.compute.amazonaws.com" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to ec2-52-221-218-255.ap-southeast-1.compute.amazonaws.com [52.221.218.255] port 22.
debug1: connect to address 52.221.218.255 port 22: Connection timed out
ssh: connect to host ec2-52-221-218-255.ap-southeast-1.compute.amazonaws.com port 22: Connection timed out
1I can connect to that machine, SSH server responds. The instance accepts traffic from any host. – helloV – 2017-08-23T04:57:37.700
@helloV could you please tell me the command you are using. – None – 2017-08-23T05:05:01.053