我无法从一天访问AWS EC2实例。
(AMI:Ubuntu的/图像/ EBS/Ubuntu的精确-12.04-AMD64服务器 - 20121001(AMI-22ad1223))AWS ssh访问'端口22:操作超时'问题
$ ssh -v -i mykey.pem [email protected]
OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: connect to address xxx.xxx.xxx.xxx port 22: Operation timed out
ssh: connect to host xxx.xxx.xxx.xxx port 22: Operation timed out
这是我的 “安全组”,在EC2设置。
我没有改变从良好的连接时间的设置。
Ports Protocol Source
22 tcp 0.0.0.0/0
80 tcp 0.0.0.0/0
3000 tcp 0.0.0.0/0
3006 tcp 0.0.0.0/0
我试了很多次,重新启动服务器。
Web服务器进展顺利。但是SSH连接不是。
什么可能是问题,以及如何使它工作?
如果您重新启动它,您使用的是当前IP地址吗? – datasage
您是否在安全组上配置了任何出站规则? –
如果连接未从服务器启动,则出站规则不会阻止通信。但是网络ACL规则可能会阻止它。 –