HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   SSH user files access via web? (http://www.howtoforge.com/forums/showthread.php?t=54590)

LTxda 20th October 2011 20:04

SSH user files access via web?
 
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.

falko 21st October 2011 17:54

Can't your users use something like WinSCP?

LTxda 21st October 2011 18:28

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.

LTxda 25th October 2011 01:14

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.


All times are GMT +2. The time now is 00:58.

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