You're getting down voted and I have no idea why.
Why would anyone run an ssh server in an app container? You'd ssh to the host and attach to the shell of the container if you needed shell access for some reason. I've only ever needed shell access to debug something or test a file mount.
In fact, minimal or "distroless" containers don't even have a shell.
I honestly can't think of any good reason to run an ssh server in a container.