我无法从ubuntu12.11通过SSH登录到我的ec2实例。
我尝试了ssh的所有方法,给出了key作为凭证。
我用过
ssh -v -i ~/.ec2/pes.pem ec2-user@ec2-54-209-148-122.compute-1.amazonaws.com我得到的输出结果如下
OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ec2-54-209-148-122.compute-1.amazonaws.com [54.209.148.122] port 22.
debug1: connect to address 54.209.148.122 port 22: Connection timed out
ssh: connect to host ec2-54-209-148-122.compute-1.amazonaws.com port 22: Connection timed out谢谢你,
发布于 2013-12-23 16:14:42
请确保您已在端口22的安全组上进行了配置,您可以通过以下链接进行参考:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html
发布于 2013-12-23 19:35:35
检查防火墙是否阻止对此端口或IP的访问。它可以是在客户端机器上运行的防火墙、服务器机器或在客户端网络中运行的网络防火墙。
https://stackoverflow.com/questions/20739377
复制相似问题