After creating a new instance,I am trying to access my instance like below:
ssh -i private_key.pem root@my_instance_public_domain
but the operation is timing out,I have updated the private key file permission using
chmod 400
and also edited default security group by adding a new in bound rule,selecting SSH and source Ip as 1.12.34.0/32
but getting port 22: Operation timed out .
what I am missing.
Thanks in advance
1.23.34.0/32
? If not you have to modify the security group. You must also ensure that the instance is part of your security group – Ulrich Dangel Jun 6 '12 at 18:401.23.34.0
must be your external ip address. Another problem (but unlikely problem if you use a provided AMI) may be that your instace has no ssh server running / has customized firewall rules. – Ulrich Dangel Jun 6 '12 at 18:48