【发布时间】:2015-11-11 00:47:17
【问题描述】:
我确实在 AWS 上使用 Ubuntu 作为操作系统在免费套餐上设置了我的第一个 EC2 实例。我按照所有步骤操作,我的实例已启动。
我已经建立了以下安全规则:
Ports Protocol Source Personal_SG_NVirginia
80 tcp 0.0.0.0/0 ✔
22 tcp 0.0.0.0/0 ✔
3306 tcp 0.0.0.0/0 ✔
443 tcp 0.0.0.0/0 ✔
-1 icmp 0.0.0.0/0 ✔
我可以 ping 我的实例,但无法在我的 linux 上使用 PuTTY、ssh 甚至在 miniterm 控制台上连接到它。
$ ssh -vv -i "xxxx.pem" ubuntu@52.91.95.205
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 52.91.95.205 [52.91.95.205] port 22
debug1: connect to address 52.91.95.205 port 22: Connection timed out
ssh: connect to host 52.91.95.205 port 22: Connection timed out
如果我使用 DNS 名称,也会发生同样的情况。
Miniterm 控制台错误:
Connection to 52.91.95.205: Connection timed out: no further information
我已经重启了实例并重新创建了它,但根本没有成功。
帮助表示感谢。
【问题讨论】:
标签: amazon-web-services ssh amazon-ec2