On Sat, Jan 5, 2013 at 1:03 PM, Alan McDuff <alan.mcd...@yahoo.com> wrote:

> 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:
>
> user@host:~$ host guest1 10.0.3.1
> Using domain server:
> Name: 10.0.3.1
> Address: 10.0.3.1#53
> Aliases:
> guest0 has address 10.0.3.123
>
> I have one more question (not urgent, but making this work would be
> nice-to-have):
> Connecting using the hostname fails:
> >user@host:~$ ssh ubuntu@guest1
> >ssh: Could not resolve hostname guest1: Name or service not known
> Can you suggest what needs to be configured to make this work?
>
>
If you paste the .lxc part from
http://www.stgraber.org/2012/07/17/easily-ssh-to-your-containers-and-vms-on-ubuntu-12-04-lts/
into
your ~/.ssh/config and start the container, then you should be able to ssh
with "ssh ubu...@guest1.lxc".

Marko
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to