阅读背景:

无法通过OpenStack Cloud创建SSH到实例

来源:互联网 

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 [email protected] -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?

有什么方法可以解决这个问题吗?

1 个解决方案

#1


2  

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. This is the most likely problem.
  • 该实例未分配给具有安全规则的安全组,该安全规则为传入通信打开端口22。这是最可能的问题。
  • 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.
  • 客户端网络中存在防止访问的网络防火墙。

分享到: