add brackets around $(ls -A /etc/authorized_keys)
add brackets around $(ls -A /etc/authorized_keys)

Without this change, i got an error about [: too many arguments You can try this change with the smurfendrek123/sshd:test1 docker image. https://hub.docker.com/r/smurfendrek123/sshd
panubo/docker-sshd,macropin/docker-sshd