Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 17th March 2012, 11:14
sjau sjau is offline
Local Meanie
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts
Default Jailkit SSH User access to /var/www/domain.com ?

Hi there

I like SSH access and also use SCP to transfer files usually. So it's good to just have one login but I would like to restrict the user just to /var/www/domain.com.

However I can't seem to get this to work.

In the System Settings -> Server Configuration -> Server -> Jailkit

I did set Jailkit chroot home to '/'

The ssh user has jailkit enabled and under options the folder is set to:


cat /etc/passwd returns this:


and the actual folder user is:

However when I try to login, I get:

Mar 17 10:05:22 manager jk_chrootsh[14187]: abort, path /var/www/clients/client1/web6/./ is not owned by 5008

Checking who owns folder 'web6' I get this:

drwxr-xr-x 14 root root 4.0K Mar 17 09:43 web6

So, is there a way to jail a ssh user to the web folder?
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some problems and questions Typhon Installation/Configuration 22 15th January 2012 15:12
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
Jailkit SSH user login fails outeredge General 7 21st February 2011 15:40
Vhosts...conf not synced to changes crypted General 50 24th April 2010 01:54
SSH access for site user cic Installation/Configuration 7 20th November 2007 15:21

All times are GMT +2. The time now is 04:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.