简体   繁体   中英

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.

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. This is the most likely problem.
  • There is a firewall on the client machine preventing outgoing access to the remote server on port 22.
  • There is a network firewall in the client's network preventing access.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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