---

Debian/Ubuntu Linux: Restrict an SSH user session to a specific directory by setting chrooted jail

You may grant a user ssh access, whom you do not completely trust. You can limit what that user can see or run only ls, date, and internal bash commands by setting up a SSH chroot jail.??? Let us see how to create the chrooted jail for OpenSSH server on a Debain or Ubuntu Linux server.

Get the Free Newsletter!

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