how do i restrict ssh users to only their folders in ubuntu

Posted on 2010-09-17
Last Modified: 2012-05-10
OK users come in via winscp over ssh into a server we have setup to dump files. We want to stop the user from going out of thier directory. We tried rbash but winscp does not work with rbash so back to the normal bash shell
Question by:robaiken
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 28

Expert Comment

by:Jan Springer
ID: 33701777
LVL 31

Accepted Solution

farzanj earned 125 total points
ID: 33777832

Author Comment

ID: 33806469
Open SSH does just what i wanted with no third party plugins. Anyone interested should check it out

Author Closing Comment

ID: 33806485

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Security Vulnerability 35 226
zmeu infection? 49 255
SASL LOGIN authentication failed: authentication failure 1 110
Centos 6 User Can't Assign Password 2 99
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (, affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question