Genral Web Comments
Monday, January 30, 2006
Chrooted SSH HowTo | HowtoForge - Linux Howtos and Tutorials
Chrooted SSH HowTo | HowtoForge - Linux Howtos and Tutorials: "Chrooted SSH HowTo
Submitted by falko on Wed, 2006-01-18 08:27. :: Security
This is a 'copy & paste' HowTo! The easiest way to follow this tutorial is to use a command line client/SSH client (like PuTTY for Windows) and simply copy and paste the commands (except where you have to provide own information like IP addresses, hostnames, passwords,...). This helps to avoid typos.
Chrooted SSH HowTo
Version 1.0
Author: Falko Timme
Last edited: 01/18/2006
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.
I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!"
