SSH user files access via web?

Discussion in 'General' started by LTxda, Oct 20, 2011.

  1. LTxda

    LTxda Member

    I'm setting up a few chrooted SSH users so they can backup their files to the server utilizing rsync. I'm trying to give users access to their files via a PHP web based file management utility. I've read through the manual and have performed multiple, unsuccessful, searches on this forum...but the solution continues to escape me.

    I've got chrooted ssh working. Just need to figure out a way to give users access to their files via WWW.

    http://www.domain.com/username or some other way.

    I want users to login via rsync/ssh, backup their files to a directory under their account then have those backed up files accessible via web access.

    Thanks in advance for any help or guidance. Feel free to reference manual pages or link me to a forum post that I might have missed.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Can't your users use something like WinSCP?
     
  3. LTxda

    LTxda Member

    I wish. "They" don't install another app on the systems. Use existing browser so there's not one more thing to support.

    It doesn't have to be to where they can access via http://www.domain.com/username. Just some way to keep users chrooted so rsync can backup over ssh and they can login via a web page to get their files if they need to restore something. Just didn't know if i had to setup a subdomain for each user to accomplish this or if it could be done some other way.

    On a none ISPConfig system I could just create a chrooted ssh user for rsync usage and configure a PHP based file manager to give users access to their files. I may try the same approach here. As long as the PHP file manager is able to access the different user areas on the server. I'll just have to experiment. Just new to ISPConfig and didn't know if there was a more straight forward way of setting this up to achieve the goal without having to install additional things.
     
    Last edited: Oct 21, 2011
  4. LTxda

    LTxda Member

    I found a solution for my need.

    Installed AjaXplorer to a site on the box then configured each chrooted SSH user within AjaXplorer directing their access to where the backup files are stored on the file system. Works beautifully.

    Based on this experience I wanted to recommend that AjaXplorer be included maybe as an add-on or somehow with ISPConfig. It works great!

    Hope this helps anyone else looking to achieve the same or similar goals I had.
     

Share This Page