Question

How do I jail ssh users in home directory?

Posted February 26, 2014 4.2k views
I need that be SSH, not SFTP access.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

3 answers
by Justin Ellingwood
This guide will cover how to restrict the log in capabilities of users on a Linux system. This is accomplished through manipulating authentication files with tools like usermod and passwd.
unfortunately not.
I need that ssh users just access your root directory.
Example: user Joe should jail in /home/joe/
I need that be SSH, not SFTP access.
Very thanks.
Submit an Answer