This question already has an answer here:
I have a LINUX machine (remote), and a MAC machine (local). Our system administrator set up an "SSH" method, whereby I can ssh from my MAC, to my LINUX machine, via this command on my MAC:
ssh email@example.com -p 12345
When I do this, I am prompted to put in the password for my LINUX machine, and when I do, I have access, which is great.
What I want to do now though, is be able to scp from my MAC machine, to my LINUX machine, so that I can transfer files over. How do I do that? I have googled around but I am not sure what to do.