Question regarding ssh and lxc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I’m trying to narrow down the source of a bug where a docker container sshd closes the connection after a successful authentication (https://bugzilla.redhat.com/show_bug.cgi?id=1085081) – filed with libvirt as there’s no docker-io component for RHEL 6.5 in bugzilla.

 

One of the steps I’m taking is to reproduce a similar setup using LXC but while it seemed to have worked I’m not sure I’ve properly reproduced the setup I would have with docker.

 

I’ve based myself on the RHEL 7b Linux Container Guide

 

1.       Created a HelloWorld containe based on the sample config file

 

<domain type='lxc'>

    <name>test-container</name>

    <memory>102400</memory>

    <os>

        <type>exe</type>

        <init>/bin/sh</init>

    </os>

    <devices>

        <console type='pty'/>

    </devices>

</domain>

 

2.  Defined, started and connected to it using virsh
3.  Obtained the ip and started sshd
4.  And when I logged in via sshd I got the bash from the host

 

Any assistance would be appreciated.

 

Arno

 


Confidentiality Statement - The contents of this e-mail, including its attachment, are intended for the exclusive use of the recipient and may contain confidential or privileged information.  If you are not the intended recipient, you are strictly prohibited from reading, using, disclosing, copying, or distributing this e-mail or any of its contents.  If you received this e-mail in error, please notify the sender by reply e-mail immediately or the Privacy Office (privacy@xxxxxxxxxxxxxxxxxxxx) and permanently delete this e-mail and its attachments, along with any copies thereof.  Thank you.

 

Avis de confidentialité ? Ce courriel, y compris ses pièces jointes, s?adresse au destinataire uniquement et pourrait contenir des renseignements confidentiels. Si vous n?êtes pas le bon destinataire, il est strictement interdit de lire, d?utiliser, de divulguer, de copier ou de diffuser ce courriel ou son contenu, en partie ou en entier. Si vous avez reçu ce courriel par erreur, veuillez en informer immédiatement l?expéditeur ou le bureau de la Protection des renseignements personnels (info.privee@xxxxxxxxxxxxxxxxxxx), puis effacez le courriel ainsi que les pièces jointes et toute autre copie. Merci.


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux