Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Jailing Sftp Users.
post Jan 17 2005, 11:13 AM
Post #1


Group: Members
Posts: 27
Joined: 13-April 04
From: Brandon, Manitoba, Canada
Member No.: 2,771


i am running slackware 10 and ssh2. How do i go about jailing a user to their home dir for sftp? i have been searching (google) and i couldn't find that much useful info. Thanks in advance.

Go to the top of the page
+Quote Post
post Jan 17 2005, 04:48 PM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404

You can't, unless you're willing to have a /bin /sbin /usr/bin /etc (and more) in each user directory.

Only real FTP can do this, I belive.

Just chrooting a user in ssh/sftp would cause so many problems it's not worth it. =/

Just make sure your system is secure, and you have no reason for chroot

*Points finger at the author above him* They're a witch! Burn them!
Vist my website!
Join me in IRC! Server: Channel: #UnhandledExceptions
Go to the top of the page
+Quote Post
post Jan 18 2005, 12:06 AM
Post #3

RMS is my Hero

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5

there is a way to jail a ssh user to there home directory with a patch to openssh i believe..
i looked up jailing ssh users on google and i didnt particularly care for the concept of doing it...
because i believe it is a very DO AT YOUR OWN RISK sort of thing and i wasnt going
to risk the idea of trashing my system over it.....ive been working with linux for several years
and i dont think i would worry about jailing ssh users unless you absolutely need to...


Chris W.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st July 2018 - 08:46 AM