This question already has an answer here:
I use my own laptop running Ubuntu to ssh to my school server (which is running another Linux distribution).
I do my assignments remotely like this, but I have an habit of putting all my files on Dropbox so that I can gain access of them anytime anywhere.
for instance, I made a file named blah.cpp on the school server, thru ssh on my laptop, now I want to copy this file to my local machine into the Dropbox folder. What is the command to do that?
I've done the research and seems like
sftp are the solution but I find it hard to understand what exactly I should do with them.