Skip to main content

Allow SSH Logins to Debian LXC Containers

Once you get the container created and running:

  1. Edit the sshd_config file located at /etc/ssh/sshd_config
  2. Remove the # from PermitRootLogin line, and replace prohibit password with yes
  3. Execute service ssh restart or reboot the container, whatever floats your boat