sftpで特定ユーザーのみ chroot を設定する
Issue
-
特別に作成した sftp ユーザーがホームディレクトリから出られないように sftp を設定するにはどうしたら良いですか?
-
このユーザーだけに適用したいです。
- その他のユーザーに対しては、通常の ssh/sftp 機能を引き続き使用したいです。
- openssh サーバーで、sftp/scp アカウントの jail に対するサポートを追加してください。
Environment
- Red Hat Enterprise Linux (RHEL) 6
- Red Hat Enterprise Linux (RHEL) 7
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.
