简体   繁体   English

无法将SSH插入由OpenStack Cloud创建的实例

[英]Cant SSH into Instance Created by OpenStack Cloud

I just launched new Ubuntu 12.04 Instance using Openstack cloud but when i try to SSH into that instance i gotConnection refused. 我刚刚使用Openstack云启动了新的Ubuntu 12.04实例,但是当我尝试通过SSH进入该实例时,我的连接被拒绝。

xxx@openstack:$ sudo ssh ubuntu@192.168.0.225 -v
OpenSSH_6.2p2 Ubuntu-6ubuntu0.1, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.0.225 [192.168.0.225] port 22.
debug1: connect to address 192.168.0.225 port 22: Connection refused
ssh: connect to host 192.168.0.225 port 22: Connection refused

Is there any way to fix this problem? 有什么办法可以解决这个问题?

A connection error like this indicates one of the following issues: 这样的连接错误表示以下问题之一:

  • The instance is not assigned to a security group that has a security rule that opens port 22 for incoming communications. 实例未分配给具有安全规则的安全组,该安全规则打开端口22进行传入通信。 This is the most likely problem. 这是最可能的问题。
  • There is a firewall on the client machine preventing outgoing access to the remote server on port 22. 客户端计算机上有防火墙,阻止对端口22上的远程服务器的出站访问。
  • There is a network firewall in the client's network preventing access. 客户端网络中有一个网络防火墙阻止访问。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM