Koozali.org: home of the SME Server

SFTP setup problem

Offline factory

  • 20
  • +0/-0
SFTP setup problem
« on: April 07, 2009, 09:01:29 PM »
I have install remoteuseraccess contrib.

My problem is that the users can list all the directories on the server when connecting with sftp.

I tried jailkit, but wasn't able to make it work.

Is there an other way to make a jail.
« Last Edit: April 07, 2009, 09:07:44 PM by factory »

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: SFTP setup problem
« Reply #1 on: April 08, 2009, 10:00:54 AM »
Welcome to the forums :)

IIRC you can set a chroot path that should do what you want. See http://www.dungog.net/wiki/Smeserver-remoteuseraccess#Individual_Configuration

Offline factory

  • 20
  • +0/-0
Re: SFTP setup problem
« Reply #2 on: April 08, 2009, 02:45:09 PM »
Thank you,

I have tried.

With FTP it works,

but with SFTP, the users can view and list all the directory on the server

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: SFTP setup problem
« Reply #3 on: April 09, 2009, 02:38:18 AM »
Then I suggest that you file a bug report asking for this feature to be added.