Ask Your Question

Revision history [back]

To elaborate a bit more: You need to associate a floating IP with the instance, and you need the name of a user account on the instance. You also need to add port 22 to one of the instance's security groups (often, there is only one security group named "default"). Then run ssh <floating ip> <username>.

nova floating-ip-create nova floating-ip-associate <instance name="" or="" uuid=""> <ip address="">
nova secgroup-add-rule default tcp 22 22 0.0.0.0/0 ssh <ip address=""> -l <user>

To elaborate a bit more: You need to associate a floating IP with the instance, and you need the name of a user account on the instance. You also need to add port 22 to one of the instance's security groups (often, there is only one security group named "default"). Then run ssh <floating ip> <username>.

$ nova floating-ip-create
$ nova floating-ip-associate <instance name="" or="" uuid=""> <ip address=""> 
name or UUID> <IP address> $ nova secgroup-add-rule default tcp 22 22 0.0.0.0/0 $ ssh <ip address=""> <IP address> -l <user>

<user>