Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sshd issue



On Sun, 2005-06-05 at 00:52 -0400, trlists at clayst.com wrote:
> I have a few sites hosted on a virtual server with a commercial hosting 
> company.  I have root access to the virtual server and can control my 
> own configuration for pretty much everything.
> 
> I want some users to have a "jailed root" for FTP connections so that I 
> can give an FTP login to someone managing site A and prevent them from 
> seeing site B's files.
> 
> I managed to do this easily for straight FTP logins by adding some 
> VirtualHost directives to proftpd.conf.  However users can also access 
> the system via SFTP/SSH which I presume must go through sshd (the site 
> uses OpenSSH).  I can't find anything in the sshd config file docs that 
> lets me control the ftp logins specifically, or that lets me set the 
> home directory for a specific user coming in via SSH and prevent them 
> from going anywhere above that in the tree.  Anyone know if such a 
> thing exists?  Another approach with the same effect?

( Derek, allow me.  *grin* )

Tom - 

Take a look at rssh (http://www.pizzashack.org/rssh/index.shtml).  It
might just meet your needs...

-- 
"Check out Snort. It sounds like a perfect match for you."
-Security Focus's "Security Basics" maillist

Cole Tuininga
Lead Developer
Code Energy, Inc
colet at code-energy.com
PGP Key ID: 0x43E5755D






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org