[Openstack] can't access my running instance through ssh

2011-07-12 Thread fujiang zhou
I've installed all nova services and components successfully, and the
instance is running but I can't access it through ssh.

I've followed the docs carefully, and published the sample image and ran the
instance, and the nova-compute logs shows that the key is injected into the
instance.

I also made the following steps:
euca-authorize -P icmp -t -1:-1 default
euca-authorize -P tcp -p 22 default

And when I try to access the ssh ubuntu@myip, I get the following message:

ssh: connect to host myip port 22: Connection refused
which might indicate that the openssh-server is not installed or running on
my instance.

Any clue here?
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] can't access my running instance through ssh

2011-07-12 Thread Lorin Hochstein
Are you able to view the console output with euca-get-console-output? If so, 
are there any indications that something went wrong during bootup that might 
prevent the SSH server from starting inside the instance?

Lorin
--
Lorin Hochstein, Computer Scientist
USC Information Sciences Institute
703.812.3710
http://www.east.isi.edu/~lorin

On Jul 12, 2011, at 11:25 PM, fujiang zhou wrote:

 I've installed all nova services and components successfully, and the 
 instance is running but I can't access it through ssh.
 
 I've followed the docs carefully, and published the sample image and ran the 
 instance, and the nova-compute logs shows that the key is injected into the 
 instance.
 
 I also made the following steps:
 euca-authorize -P icmp -t -1:-1 default
 euca-authorize -P tcp -p 22 default
 
 And when I try to access the ssh ubuntu@myip, I get the following message:
 
 ssh: connect to host myip port 22: Connection refused
 
 which might indicate that the openssh-server is not installed or running on 
 my instance.
  
 Any clue here?
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp