Do it in two steps.
As root on machineA, copy the files from /root/ to user@machineB:/tmp/ (make sure the permissions are set to x00 if you want to keep other users on machineB from reading the file)
As root on machineB, move the files from /tmp/ to /root/
You could also temporarily enable root login, copy the file over, then disable it again.
Last edited by suicidaleggroll; 10-13-2012 at 12:47 PM.
|