SSH进入EC2实例:操作超时
我正在尝试ssh到我的ec2实例中以部署我的MEAN-stack应用程序,但无论我收到的超时错误。我尝试了很多在其他StackExchange线程中发布的解决方案,但无济于事。我正在运行macOS 10.14.1 在我的Mac上,我尝试通过FileZilla,Cyberduck连接,甚至使用命令行参数,如 ssh -v -v -v -i "<pem-file-name>.pem" ubuntu@ec2-18-207-106-113.compute-1.amazonaws.com 和 ssh ubuntu@ec2-18-207-106-113.compute-1.amazonaws.com。以下是运行以下任一命令时的错误输出: OpenSSH_7.1p2, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to ec2-18-207-106-113.compute-1.amazonaws.com [18.207.106.113] port 22. debug1: connect to address 18.207.106.113 port 22: Connection timed out ssh: connect to host ec2-18-207-106-113.compute-1.amazonaws.com …