I just finished writing some code on a school computer using ssh on my personal computer to access that computer. I now need to copy that file from the school's computer onto my computer or onto a flash drive. What is the best way to do this?
I have read that using SFTP to connect to the school's computer would work better than ssh for transferring a file. So my question is, once I have connected to the computer through SFTP, how can I transfer the file over? I am doing all of this in Ubuntu at the terminal window, is there a simple command that I can type to transfer a file from the school's computer to mine?
Thanks.

