<div dir="ltr"><div class="gmail_extra">On Sat, Jan 5, 2013 at 1:03 PM, Alan McDuff <span dir="ltr"><<a href="mailto:alan.mcduff@yahoo.com" target="_blank">alan.mcduff@yahoo.com</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:'times new roman','new york',times,serif">
Great, thank you, Marko. I had read the thread, but first it didn't make sense to me. From Stephanes last reply I found that this is all I need:<br><br>user@host:~$ host guest1 10.0.3.1<br><div><span>Using domain server:<br>
Name: 10.0.3.1<br>Address: 10.0.3.1#53<br>Aliases:<br>guest0 has address 10.0.3.123</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><span>I have one more question (not urgent, but making this work would be nice-to-have):</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><span>Connecting using the hostname fails:<br></span></div><div>>user@host:~$ ssh ubuntu@guest1<br>
>ssh: Could not resolve hostname guest1: Name or service not known</div><div>Can you suggest what needs to be configured to make this work?</div><div><br></div></div></div></blockquote><div><br></div><div style>If you paste the .lxc part from <a href="http://www.stgraber.org/2012/07/17/easily-ssh-to-your-containers-and-vms-on-ubuntu-12-04-lts/">http://www.stgraber.org/2012/07/17/easily-ssh-to-your-containers-and-vms-on-ubuntu-12-04-lts/</a> into your ~/.ssh/config and start the container, then you should be able to ssh with "ssh ubuntu@guest1.lxc".</div>
<div style><br></div><div style>Marko </div></div></div></div>