I’m trying to download a few pretty large dataset onto a Linux machine at school using SSH on my Mac from home. I’m using wget to get the files as follows:

wget dataset.zip

The problem is when I close my SSH client, the shell session on the Linux machie ends and killing my wget processes. I read online to use the screen command to keep my processes alive. The command follows:

screen wget dataset.zip

After entering the above command, then press Ctrl+A+D to detach the screen and go back to the original shell and the SSH session can be terminated.