- 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: 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.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.