我无法在一天内访问AWS EC2实例.
(AMI:ubuntu/images/ebs/ubuntu-precise-12.04-amd64-server-20121001(ami-22ad1223))
$ ssh -v -i mykey.pem ubuntu@XXX.XXX.XXX.XXX
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
Run Code Online (Sandbox Code Playgroud)
这是我在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
Run Code Online (Sandbox Code Playgroud)
我已多次尝试重启服务器.
Web服务器进展顺利.但SSH连接不是.
可能有什么问题以及如何使其发挥作用?