-
Notifications
You must be signed in to change notification settings - Fork 0
File transfer
Eric Marty edited this page Jul 19, 2021
·
5 revisions
- Make sure you can access the remote computer via SSH. Instructions on that are available here.
- Transfer the file using the Secure Copy Protocol (SCP). On Linux and Mac, this can be done using the
scpcommand line program as follows:scp ebodea@172.18.244.86:/home/ebodea/src/myplot.pdf .. In this example, I've copied a file called myplot.pdf from the location/home/ebodea/src/myplot.pdfon the high-memory machine to the current directory of my terminal on the computer I've entered the command. (The.stands for current directory.) As usual, you will need to substitute your own username forebodeato run this example on your own computer. Here is another example:scp -P 9922 renikaul@172.18.244.88:/home/renikaul/Desktop/Aphani/New_Model/simulations/dummy.txt .In this example, the username isrenikauland-P 9922tellsscpto use port 9922, which is necessary on the other high-memory machine.
Windows users using putty should also substitute pscp for scp.
The scp command is used in a similar way to the cp command; the two arguments it needs are (1) the path to the file you want to copy and (2) the destination of that file. If a path is prefixed by an IP address and a colon, then the path is interpreted as being on the machine at the given IP address.
- journal-club doc
- google-sites lab manual
- index of all Drake-lab google sites
- lab-meeting--minutes doc Contact John if you are having trouble accessing google docs or websites.
- repository of public domain images