We help IT Professionals succeed at work.
Get Started

chroot user using jailkit

Last Modified: 2013-12-15

Have got jailkit up and running on ubuntu 9.10 server box have jailed user to use just scp and sftp
using jk_jailuser -m -j /srb/jail "username"

My question is when I scp in as user I first of see .ssh folder and .bash file also I can go up directory level and see the jailed environment.

Is there any way that i can hide these folders or stop user from seening them
User setting

home directory /srv/sftpjail/./home/username
shell /usr/sbin/ch_root

Open in new window

Watch Question
Software Developer
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE