- The SSH chroot does not work with pam_chroot when there is no mounted /proc inside the chroot.
Issue
- SSH chroot using pam_chroot.so does not work when there is no mounted /proc inside the chroot. The ssh server throws the following error in /var/log/secure:
Aug xx xx:xx:xx hostname sshd[11735]: fatal: openpty returns device for which ttyname fails.
while the client shows the following error and disconnects:
Connection to localhost closed by remote host.
Connection to localhost closed.
Environment
- glibc-2.5-81.el5_8.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
