我在 EC2 上运行 Ubuntu 实例,但无法通过 ssh 访问它。我得到以下信息:
Connection timed out
我不知道如何访问它。我使用了以下内容:
ssh -i <key>.pem ubuntu@<instance address>
有任何想法吗?
OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to ec2-54-235-7-137.compute-1.amazonaws.com [54.235.7.137] port 22. debug1: connect to address 54.235.7.137 port 22: Connection timed out ssh: connect to host ec2-54-235-7-137.compute-1.amazonaws.com port 22: Connection timed out