How to configure Debian SSHD for remote debugging in a Docker container? How to configure Debian SSHD for remote debugging in a Docker container? docker docker

How to configure Debian SSHD for remote debugging in a Docker container?


Different distro's can have slightly different SSH configs so replacing specific strings might not work.

To cover any type of PermitRootLogin string use:

RUN sed -i 's/PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config