Line 1: |
Line 1: |
| == How to Transfer Files == | | == How to Transfer Files == |
| | | |
| + | === Both machines are on the UConn network === |
| A safe way to transfer files to and from the cluster to a personal computer is to use the [http://linux.die.net/man/1/scp scp] (Secure Copy) command. | | A safe way to transfer files to and from the cluster to a personal computer is to use the [http://linux.die.net/man/1/scp scp] (Secure Copy) command. |
| | | |
Line 15: |
Line 16: |
| </pre> | | </pre> |
| | | |
− | == For Windows Users == | + | === Transferring to/from offsite === |
− | | |
− | For Windows users it may be useful to download the program [http://www.cygwin.com/ Cygwin]. This is a Windows version of a terminal that has ssh and scp capability as well as many others. Using this program scp will look like the following
| |
− | | |
− | *Transferring to the cluster
| |
− | <pre>
| |
− | scp /cygdrive/c/Users/<personalUsername>/My\ Documents/path/to/file.txt
| |
− | username@stats.phys.uconn.edu:/path/to/remote/location
| |
− | </pre>
| |
− | | |
− | *Transferring from the cluster
| |
− | <pre>
| |
− | scp username@stats.phys.uconn.edu:/path/to/remote/file.txt
| |
− | /cygdrive/c/User/<personalUsername>/My\ Documents/path/to/local/location
| |
− | </pre>
| |
− | | |
− | == Transferring To/From Local Machine From/To Stats == | |
| | | |
| Sometimes it is necessary to transfer files between your local machine and stats. This can become complicated if the local machine is not on the UConn network. In this case the connection is: | | Sometimes it is necessary to transfer files between your local machine and stats. This can become complicated if the local machine is not on the UConn network. In this case the connection is: |
Line 56: |
Line 41: |
| Terminal 2: | | Terminal 2: |
| scp -P 9999 <stats username>@localhost:/path/to/stats/file.txt /path/to/local/file.txt | | scp -P 9999 <stats username>@localhost:/path/to/stats/file.txt /path/to/local/file.txt |
| + | </pre> |
| + | |
| + | == For Windows Users == |
| + | |
| + | For Windows users it may be useful to download the program [http://www.cygwin.com/ Cygwin]. This is a Windows version of a terminal that has ssh and scp capability as well as many others. Using this program scp will look like the following |
| + | |
| + | *Transferring to the cluster |
| + | <pre> |
| + | scp /cygdrive/c/Users/<personalUsername>/My\ Documents/path/to/file.txt |
| + | username@stats.phys.uconn.edu:/path/to/remote/location |
| + | </pre> |
| + | |
| + | *Transferring from the cluster |
| + | <pre> |
| + | scp username@stats.phys.uconn.edu:/path/to/remote/file.txt |
| + | /cygdrive/c/User/<personalUsername>/My\ Documents/path/to/local/location |
| </pre> | | </pre> |