Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-02-2008, 12:59 PM   #1
LQ Newbie
Registered: Apr 2006
Location: New Jersey, U.S.
Distribution: Frugalware
Posts: 17

Rep: Reputation: 0
User account with SFTP access only

I have a few shared folders on my box that I'd like to give people access to via SSH, but I don't want to have to make a user account for every person. I want a single, limited-access SFTP-only account. Ideally this account would be very limited, i.e. no telnet, no ability to execute commands, no access to other parts of the file system, just SFTP access to a specific directory.

What would be the best way to accomplish this (without patching openssh with something like SSHjail)?

Any help is greatly appreciated.

Last edited by nsfx; 01-02-2008 at 01:00 PM.
Old 01-02-2008, 04:31 PM   #2
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
I just saw a feed on concerning that:

I hope it's worth it (I didn't read it).


Last edited by MoonMind; 01-02-2008 at 04:32 PM.
Old 01-03-2008, 12:39 PM   #3
LQ Newbie
Registered: Apr 2006
Location: New Jersey, U.S.
Distribution: Frugalware
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks MoonMind. I also did a bit of research and found two solutions for this: rssh as you linked to and scponly. Both support chroot jails. I am setting up scponly currently.
Old 01-06-2008, 07:52 PM   #4
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40

Rep: Reputation: 15
Nah, too complicated.

There is a much simpler way for a user that
can log in to FTP, but still won't be able to log in to a shell.


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
Cannot Access NTFS - in a new User Account - soujiro_t Slackware 19 09-11-2007 10:39 PM
access to an imap account by another user marozsas Linux - Server 3 01-12-2007 02:30 AM
User Account to Access Another Account benfaust Linux - General 2 06-28-2006 01:26 PM
Other users have access to my user account? BajaNick Linux - Software 2 04-12-2005 12:08 AM
user account timed access wylie eyed Linux - General 4 01-12-2004 06:54 PM

All times are GMT -5. The time now is 09:15 PM.

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