Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th October 2010, 22:54
newbie14 newbie14 is offline
Member
 
Join Date: Jul 2010
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default Control access to folder both from ssh and ftp.

Dear All,
I would like to create new user where there can both ftp and also ssh to my server. The problem when they login either via ssh or ftp I just want them to be able to see only particular folder and not other folder. How can I control that? Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 6th October 2010, 14:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

For SSH, take a look here: http://www.howtoforge.com/chrooted-s...l-debian-lenny

Which FTP server do you use?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th October 2010, 18:45
newbie14 newbie14 is offline
Member
 
Join Date: Jul 2010
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Falko,
I am using centos 5.5. So will your settings work on it? Thank you.
Reply With Quote
  #4  
Old 7th October 2010, 14:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

I haven't tried it, and it also depends on the OpenSSH version that comes with CentOS. Must be at least 4.8.

This tutorial is for Fedora 7, it might as well work on CentOS: http://www.howtoforge.com/chroot_ssh_sftp_fedora7
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ispconfig 2 ftp / ssh issues? dw5304 General 6 7th April 2010 16:00
Upload via FTP Access Denied but not SFTP ... OmegaQuest Installation/Configuration 1 5th July 2009 11:52
Can't enable SSH access for users TheFuzzy0ne Installation/Configuration 3 8th August 2008 16:53
Problem whith client FTP access? Hudi Installation/Configuration 11 7th September 2006 22:03
FTP & Email access jon335 General 3 8th October 2005 03:08


All times are GMT +2. The time now is 09:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.