Greetings,
Whenever I try to ssh into an lxc container on Ubuntu 12.04, I get:
ssh_exchange_identification: Connection closed by remote host
using lxc-console to access the container, and checking the /var/log/auth.log
file:
Sep 14 14:13:47 dnsmasq sshd[174]: fatal: Missing privilege separation
directory: /var/run/sshd
Fair enough. If I use lxc-console to create /var/run/sshd manually, everything
is fine. I restart the ssh server and can then ssh in without problem...
However, my goal is to build containers automatically using python scripts, so
navigating the username/password login is too difficult.
Does anyone have any suggestions as to how I can create the /var/run/sshd
directory inside an lxc container automatically?
Peter.
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users