Web Hosting Talk







View Full Version : ftp account outside /home


naguib2000
08-02-2004, 05:53 AM
I ve been dreaming for a long time to make an ftp account that can access a folder outside of /home (for example /var/backup)

The purpose is making an external backup from another server on this ftp account..

i didnt want to make the external backup be on /home/(anyaccount)
because all my /home directory is backed up locally , and i dont want to make duplicates ... so the solution i think is hosting the external backup in a directory outside /home

does anyone know how to make ftp access outside /home

I use Pureftp
:)

eth00
08-02-2004, 09:32 AM
If you use scp you can "ftp" in as root if you have direct root logins enabled with ssh. SCP is a file transfer over ssh, it is just as secure as normal ssh. The only problem that the transfer rates will be slower then normal ftp but they will be fully encrypted. I would use scp if you want that type of access, ftp access to /home is just not the safest idea.

naguib2000
08-02-2004, 10:16 AM
thanks very much for your reply and your idea

i will try it , however i wanted to use ftp for automatic backup from WhM , and i dont think that WHM can use the method you - thankfully - provided

eth00
08-02-2004, 12:08 PM
You can use scp to automatically copy between servers. I use scp to copy daily backups from one server to another.

If you have ssh installed you almost always have scp install which is the command you would use.

I am not 100% sure what your trying to do but you can use scp to move backups to another server. If you want to do the ftp backup method you could just create a special user for it.