How to automatically chroot jail selected ssh user logins

Posted by LinuxCareer on Feb 5, 2013 12:10 PM
By LinuxCareer.com
Mail this story
Web version

In this article we will look on how to automatically chroot jail selected user ssh login based on the user group. This technique can be quite useful if you what your user to be provided with a limited system environment and at the same time keep them separate from your main system. You can also use this technique to create a simple ssh honeypot. In this tutorial you will learn how to create a basic chroot environment and how to configure your main system's sshd to automatically chroot jail selected users upon the ssh login.

Full Story

Printed at http://lxer.com/module/newswire/view/180340/index.html