【发布时间】:2015-12-09 21:12:25
【问题描述】:
我正在尝试使用 EB CLI 通过 SSH 连接到我的 Elastic Beanstalk 实例以访问我的日志,但是在输入 eb ssh 后,我得到了这个:
INFO: Attempting to open port 22.
INFO: SSH port 22 open.
ssh: connect to host (IP for the EC2 instance) port 22: Operation timed out
INFO: Closed port 22 on ec2 instance security group.
ERROR: An error occurred while running ssh.
我已将我的 ec2 实例的安全组设置为允许来自端口 22 上任何位置的入站 ssh,但我仍然收到此错误。
有什么问题?谢谢。
【问题讨论】:
-
请将您的问题移至Super User。这里是off-topic。
-
最有可能的 VPC 配置问题,假设您指的是与此处相同的问题:stackoverflow.com/questions/32364229/…
标签: amazon-web-services ssh amazon-ec2 amazon-elastic-beanstalk