Enable SSH (with password) to container

  1. Go to host

  2. Attach container to host

    lxc-attach --name

  3. Edit SSH-config in container

    nano /etc/ssh/sshd_config

  4. Change ...

    PermitRootLogin without-password

    to

    PermitRootLogin yes

  5. Save and restart ssh service

    service ssh restart