Question: how to copy a file from linux to mac?
Answer: Install openSSH on the linux server. Assuming a debian based distribution, do this: sudo apt-get install ssh.
Open a terminal and copy the files: i. From Linux to Mac (run from the Linux machine): scp filename.txt user@remote_server:/Users/YOURNAME/ ii. From Linux to Mac (run from the Mac):