Share your knowledge at the LQ Wiki.
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, 11:59 AM   #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 12:00 PM.
Old 01-02-2008, 03: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 03:32 PM.
Old 01-03-2008, 11:39 AM   #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, 06: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 09:39 PM
access to an imap account by another user marozsas Linux - Server 3 01-12-2007 01:30 AM
User Account to Access Another Account benfaust Linux - General 2 06-28-2006 12:26 PM
Other users have access to my user account? BajaNick Linux - Software 2 04-11-2005 11:08 PM
user account timed access wylie eyed Linux - General 4 01-12-2004 05:54 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:02 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