Kumar L Srikanth-B22348 wrote:
> My lxc version is 0.6.3.
>   
Ok.

I suppose you tried with lxc-ssh script to create the container, right ?

You should try:

lxc-execute -n cont1 /bin/bash
/usr/sbin/sshd

The same for the other container:

lxc-execute -n cont2 /bin/bash
 /usr/sbin/sshd

if you want, you can log to lxc-devel Freenode irc's channel, that maybe 
easier to check the config.

> Regards,
> Srikanth. 
>
> -----Original Message-----
> From: Daniel Lezcano [mailto:[email protected]] 
> Sent: Friday, February 05, 2010 5:27 PM
> To: Kumar L Srikanth-B22348
> Cc: [email protected]
> Subject: Re: [Lxc-users] Unable to SSH to the containers.
>
> Kumar L Srikanth-B22348 wrote:
>   
>> Hi,
>> I have created two containers cont1 and cont2, using 'lxc-sshd'
>>     
> command.
>   
>> While creating containers, I gave cont1 ip address as '172.16.1.16' 
>> and
>> cont2 ipaddress as '172.16.1.17'.
>> Prior to creating containers, I followed the following link to create 
>> a bridge 'br0' with the ipaddress '172.16.1.10' which is bridged to 
>> 'eth0'.
>> http://www.ibm.com/developerworks/linux/library/l-lxc-containers/
>>     
>
> Maybe not up-to-date at this moment.
>
> It's not a problem, just a misconfiguration.
>
> I will give you the right configuration.
> What version of lxc are running ?
>
>
>
>   


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to