HowtoForge: Chrooted SSH HowTo | Linux Today

HowtoForge: Chrooted SSH HowTo

Written By
FT
Falko Timme
Jan 31, 2006

[ Thanks to A.
Seda
for this link. ]

“This tutorial describes how to install and configure OpenSSH so
that it will allow chrooted sessions for users. With this setup,
you can give your users shell access without having to fear that
they can see your whole system. Your users will be jailed in a
specific directory which they will not be able to break out of.

“This setup is based on a Debian Sarge (Debian 3.1) system, and
the chrooted SSH will be installed in such a way that it will still
use the configuration files of the standard OpenSSH Debian package
which are in /etc/ssh/, and you will be able to use the standard
OpenSSH Debian init script /etc/init.d/ssh. Therefore you do not
have to create your own init script and configuration file…”

Complete
Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.