On 10/09/2013 06:55 PM, Guilherme Russi wrote:
Hello Rick,

Here is the command:

ubuntu@small-vm02:~$ ssh ubuntu@small-vm03
ssh: Could not resolve hostname small-vm03: Name or service not known

My point is, I have my cloud-vm01 with IP 10.5.5.3 and I want ssh to my
cloud-vm02 with IP 10.5.5.4, but I can't simply do "ssh ubuntu@10.5.5.4
<mailto:ubuntu@10.5.5.4>" because the IP 10.5.5.4 can be attached to my
cloud-vm03, for example, so, I want to know if there's a way to ssh
using "ssh ubuntu@cloud-vm02"

Someone else will have to speak to the status of any DNSaaS available in OpenStack or your cloud provider.

In the realm of stone knives and bear skins, you could create your instances with explicitly assigned private IPs (I'm ass-u-me-ing those are private IPs). If you were consistent about creating your instances with explicitly selected private IPs, you could create a static /etc/hosts file to place on all your instances to map from hostname to IP. Then you would be able to use names to access them.

rick jones



Regards.


2013/10/9 Rick Jones <rick.jon...@hp.com <mailto:rick.jon...@hp.com>>

    On 10/09/2013 05:32 PM, Guilherme Russi wrote:

        Hello guys,

           I have some VMs and I'd like to connect them through their
        name, for
        example, my VMs are named cloud-vm01 to cloud-vmn but I can't
        ssh from
        cloud-vm01 in cloud-vm02 doing "ssh user@cloud-vm01".
           How can I workaround it?


    When you say "can't ssh" can you be a bit more explicit?  What sort
    of error message do you get when you try to ssh?  The answer to that
    will probably guide responses.

    rick jones




_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to