Workload misconfigurations

Ensure sshd is not run within containers (Automated)

Risk Level

Informational (4)

Platform(s)
  • N/A

Description

The SSH daemon should not be running within the container. You should SSH into the Docker host, and use docker exec to enter a container.
  • Recommended Mitigation

    Uninstall the SSH daemon from the container and use and use docker exec to enter a container on the remote host. docker exec --interactive --tty sh. Or docker attach