---

Restrict SSH User Access to Certain Directory Using Chrooted Jail

In this tutorial, we’ll show you how to restrict a SSH user access to a given directory in Linux. Note that we’ll run the all the commands as root, use the sudo command if you are logged into server as a normal user.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis