Prev Previous Post   Next Post Next
  #1  
Old 17th January 2011, 09:27
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
Default SSH jailkit wrong folder

I create a ssh user with "Chroot Shell" set to "Jailkit" and home directory to /var/www/clients/client1/web1 (the default).

So ssh user start folder is /home/web1, that is
/var/www/clients/client1/web1/home/web1,
and can see only this path:
/home
/home/[shell_user_name]
/home/web1

The problem is that the right web site folder is
/var/www/clients/client1/web1/web
which is unreachable by the ssh user.

In this situation the user is unable to upload his site in the correct folder.

Am I doing something wrong?

How can I fix this problem?
Reply With Quote
Sponsored Links
 

Bookmarks

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
setting up chrooted ssh user, jailkit installed after ispconfig bn61 Installation/Configuration 7 5th May 2011 16:02
SSH jailkit problem Andreas0815 Installation/Configuration 11 15th January 2011 19:52
Control access to folder both from ssh and ftp. newbie14 Installation/Configuration 3 7th October 2010 14:44
how to copy a folder via SSH on CentOS 5? dealspiggy HOWTO-Related Questions 3 8th September 2008 10:09
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 16:56


All times are GMT +2. The time now is 11:09.


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