[Lxc-users] Unable to SSH to the containers.
Kumar L Srikanth-B22348
B22348 at freescale.com
Fri Feb 5 12:18:22 UTC 2010
Please see my inline comments.
From: Daniel Lezcano [mailto:daniel.lezcano at free.fr]
Sent: Friday, February 05, 2010 5:40 PM
To: Kumar L Srikanth-B22348
Cc: lxc-users at lists.sourceforge.net
Subject: Re: [Lxc-users] Unable to SSH to the containers.
Kumar L Srikanth-B22348 wrote:
> My lxc version is 0.6.3.
I suppose you tried with lxc-ssh script to create the container, right ?
Srikanth>> Yes, with lxc-sshd script.
You should try:
lxc-execute -n cont1 /bin/bash
Srikanth>> You mean to execute the following command: "lxc-execute -n
cont1 /bin/bash /usr/sbin/sshd" ?
The same for the other container:
lxc-execute -n cont2 /bin/bash
if you want, you can log to lxc-devel Freenode irc's channel, that maybe
easier to check the config.
Srikanth>> lxc-devel can not be found in my linyx contianer tools.
> -----Original Message-----
> From: Daniel Lezcano [mailto:daniel.lezcano at free.fr]
> Sent: Friday, February 05, 2010 5:27 PM
> To: Kumar L Srikanth-B22348
> Cc: lxc-users at lists.sourceforge.net
> Subject: Re: [Lxc-users] Unable to SSH to the containers.
> Kumar L Srikanth-B22348 wrote:
>> I have created two containers cont1 and cont2, using 'lxc-sshd'
>> While creating containers, I gave cont1 ip address as '172.16.1.16'
>> 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
> 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 ?
More information about the lxc-users