Results 1 to 6 of 6

Thread: Restricting SSH logins to their home directory

  1. #1

    Restricting SSH logins to their home directory

    I want to restrcit the users on my server that login via SSH to their /home/ directory. How can I do this?

  2. #2
    Guest

    Re: Restricting SSH logins to their home directory

    You would have to set up a chroot (Linux. NetBSD, OpenBSD, FreeBSD) or a jail (FreeBSD)

  3. #3

    Re: Restricting SSH logins to their home directory

    OK, I did a MAN on chroot. Not alot there. What will this command do? I just want my nosey SSHing users to saty in there lane.

  4. #4

    Re: Restricting SSH logins to their home directory

    I also am interested in doing the same thing. Please someone explain the steps.

    Ras

  5. #5
    Guest

    Re: Restricting SSH logins to their home directory

    chroot means Change Root. So you can say that the root of a given user is his home directory. So he can't do cd ... Of course, since he doesn't have access to /bin, /usr/bin, etc., you must put a copy in his chroot jail.

  6. #6
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re: Restricting SSH logins to their home directory


    What will this command do?
    Chrooting is not a command. But rather it's defining of an environment. This article will help you out how to do that in SSH ( or any other services for that matter ).

    Chrooting for SSH
    Chrooting Linux services

Similar Threads

  1. Proftpd - Limit FTP Access To Home Directory
    By Pleiades in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 06-23-2006, 02:57 AM
  2. Active Directory LDAP Compliance
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 03:34 AM
  3. no modem in Redhat Linux 8??
    By in forum Linux - General Topics
    Replies: 172
    Last Post: 09-14-2003, 04:20 PM
  4. Help with Modem/Weird Request...
    By McBane in forum Suse
    Replies: 22
    Last Post: 12-31-2002, 02:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •