openssh-server compiled with privsep-user=sshd, but doesn't create sshd user, resulting in error
I’m using alpine 3.7 with Docker for deployment to Heroku. To enable
heroku:exec, openssh needs to be installed to run ssh server.
When deploying to heroku, I see:
Privilege separation user sshd does not exist [heroku-exec] ERROR: Could not start SSH! Heroku Exec will not be available.
Digging into the openssh-server package (which is installed by openssh, which I install via my Dockerfile), I see the compile command used —with-privsep-user=sshd, yet I don’t see any evidence of an sshd user being created. It seems faulty to depend on a user to exist, without creating such a user. By contrast, nginx package creates nginx user…
(from redmine: issue id 8951, created on 2018-05-30, closed on 2018-06-12)