Every now and then I find myself in the position that I need to transfer some files from some servers root account to some other computer (might be mine or another server).

What is the fastest and easiest way to do this?

Assuming I connected from my account "ben" to the remote account "unprivilegeduser" did then "sudo su" or "su root" or whatever and want to transfer the remote file "/root/dump.tar" to my local user "ben" to the folder "/home/ben"?

#Linux #Rsync #ssh #filetransfer #admin

6