LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2006, 05:26 PM   #1
OneEye
LQ Newbie
 
Registered: Mar 2006
Location: Valhalla
Distribution: fedora core 4
Posts: 3

Rep: Reputation: 0
Chrooting ssh/sftp users.


I wanted to chroot my ssh/sftp users into a directory. Eg. /var/www/html/bobsite/ . And I still need it to be able to be served by apache. I've always previously used vsftpd and chrooting users was an easy task. I've been browsing howtos and forum to figure out the easiest way to do this but every way seems kinda complicated.

Whats the easy most simple way of doing this. I basically have two to four users, which have to log in sftp to update their sites. I would like them to be chrooted into their webdir. Any suggestions or comments would be greatly appreciated.
 
Old 03-22-2006, 07:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Look for Chrootssh (the OpenSSH chroot patch), Rssh or Scponly. Isn't that hard.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SFTP and SSH XaViaR Linux - Security 5 07-20-2005 10:18 AM
Kernel Panic (/usr/sbin/chroot) after chrooting some users. Niels@debian Linux - General 0 08-12-2004 05:22 PM
List Current SFTP users smurf Linux - Networking 0 02-12-2004 02:02 AM
ssh and sftp help Rex_chaos Linux - Networking 8 03-17-2003 08:12 PM
Chrooting somebody logging into SSH... Grim Reaper Linux - Security 23 12-15-2002 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration