简体   繁体   中英

Connection ec2 instance operation timeout error using ssh

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

为了进行测试,您可能需要将规则设置为0.0.0.0/0。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM