how to sftp /home plus subdirectories -

Mike mike.cloaked at gmail.com
Mon May 12 19:08:44 UTC 2008


Mauriat M <mirandam <at> gmail.com> writes:

> man rsync
> 

If your user is say alice on machineA and you want to get all his/her files
onto machineB - then login to machineB, and as root do the following:

cd /home/
rsync -av -e ssh machineA:/home/alice .

This presumes that you have access through any firewall between the two.

Of course if you want to be able to login as alice on machineB then you
need the appropriate entries in /etc/passwd /etc/group /etc/shadow and
 /etc/gshadow and the uid/gid must match the files in /home/alice






More information about the fedora-list mailing list