Is it possible to:
- execute sftp command on remote machine and download a file (
- then, send download to background, so I can turn my local computer off
On machine A:
On machine B:
Never tried but could work.
Edit: later, log back in and use
There are a number of solutions to this issue.
One option is to use the
The best way I have found is sending the job to the background.
In your case the command would be
If you just want the "detach" feature of screen, there's a program called "dtach" that provides only that feature.
Putting the character & (ampersand) behind a command runs it in background. However, I don't know how to do it after a command has already been executed, nor do I know whether this works on remote machines.