To move files between machines which you can connect to via ssh, you can use the command scp
. To copy a file from a remote machine to your local machine use:
and to copy a file from your local machine to the remote machine use the reverse:
So as an example if I had an account called SWDG
which I used to log into a machine accessed via ssh server.comany.com
I could copy a file as follows to get it onto my local machine: