Translated message

A translation of this page exists in English.

- chroot 内にマウントした /proc がないと pam_chroot を使用した SSH chroot が有効ではない

Solution Unverified - Updated -

Issue

  • chroot 内にマウントした /proc がないと、pam_chroot.so を使用する SSH chroot が有効ではありません。ssh サーバーが、/var/log/secure に以下のエラーを記録します。
Aug xx xx:xx:xx hostname sshd[11735]: fatal: openpty returns device for which ttyname fails.

クライアントでは、以下のエラーと切断が示されます。

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content