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
Solved

SSH:  Need to Restrict Access for a User Account

Posted on 2015-01-06
1
131 Views
Last Modified: 2015-01-13
Hello Experts!

    Quick question, I'm in an SSH session and have create a group and two or three users.  I want to be able to limit to these users to them accessing any other folders beyond their own home folder.  In other words I want to keep them from doing a change directory.  What is the syntax for this?  Thanks for your help.
0
Comment
Question by:itsmevic
1 Comment
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 40534922
You jail the user, please follow steps in the link below or download jailroot kit for your OS.

http://allanfeid.com/content/creating-chroot-jail-ssh-access
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mask Input via OpenSSH 21 106
Expect & sshpass package for Solaris 10 x86 15 959
for ssh without password, are both ways correct 16 74
SFTP and RSync on RHEL 7 1 73
We all know how boring and exhausting it is to transfer huge web projects developed locally to a webserver simply via FTP. The File Transfer Protocol is a really nice solution if you need to transfer small amounts of files, but if you're plannin…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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