SCP as a background process
I need to transfer 420GBs of files from one machine to another. I don't have physical access to either, so I'm using Putty to get this done from a windows box. The command I'm doing it with is
But if I close the putty window (as I obviously can't be bothered to keep it on whilst 420GBs transfer as that's gonna take a few days), the transfer stops.
scp -r dir firstname.lastname@example.org:/home2/
I tried to run it as a background process (adding an &), but it just won't do that, as it's requesting a password. I tried to run it without requesting a password (with -B), but then it just spits out "permission denied".