This very well could be an issue with docker. It is being discussed here. https://github.com/dotcloud/docker/issues/4846 When you try to login, we see an error. "PTY allocation request failed on channel 0"
I've built an sshd docker container using fedora-dockerfiles on rawhide, changed ENTRYPOINT [1] and I'm not able to log in indeed, but I don't see "PTY allocation request failed on channel 0" message. However there's a PAM issue [2]. So it'd be nice to have a reproducer that we can be sure that we are trying to solve the same problem. [1] ENTRYPOINT ["/usr/sbin/sshd", "-D", "-ddd"] [2] debug1: PAM: establishing credentials debug3: PAM: opening session PAM: pam_open_session(): Cannot make/remove an entry for the specified session
From the github discussion it seems that it is regression in docker.
Please try pam-1.1.8-11.fc21 in Rawhide.
Jeremy, have you tried the new pam package?