to allow ssh remote connection in lxc edit:
nano /etc/ssh/sshd_config
PermitRootLogin without-password
to
PermitRootLogin yes