LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2008, 07:54 AM   #1
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
Question chroot ssh


Hi,

i want to create a user "sun", whose home directory will be "sun".
he is going to copy files on his windows machine via SCP.
i want his home directory to be his chroot directory.
i.e he should not be able to see anything outside of his home directory in win scp & should be able to copy & delete files from this directory.
 
Old 08-27-2008, 08:23 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
http://chrootssh.sourceforge.net/
 
Old 08-27-2008, 08:39 AM   #3
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Original Poster
Rep: Reputation: 17
its of no help dude
 
Old 08-27-2008, 09:12 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Why isn't it of any help? Is it due to the ssh versions being too old. It claims to do exactly what you want.
 
Old 08-28-2008, 11:51 AM   #5
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,117
Blog Entries: 2

Rep: Reputation: 113Reputation: 113
http://olivier.sessink.nl/jailkit/ho..._scp_only.html

I've never used it, don't know anything about it, but it seems to fit what you are looking for.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
chroot not working through ssh wrongpwd Linux - Security 2 04-13-2008 09:00 AM
chroot ssh Manuel-H Slackware 3 09-15-2005 06:33 PM
How to implement chroot in SSH urehman Red Hat 0 10-26-2004 03:41 PM
ssh for chroot Thorsten Linux - Security 1 08-26-2003 06:46 AM
ssh for chroot Thorsten Linux - Software 0 08-26-2003 04:49 AM


All times are GMT -5. The time now is 06:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration