rsnt_translations
57,881
edits
m (Minor correction) |
No edit summary |
||
Line 150: | Line 150: | ||
|scp foo.txt username@beluga.computecanada.ca:work/ | |scp foo.txt username@beluga.computecanada.ca:work/ | ||
}} | }} | ||
which will copy the file < | which will copy the file <code>foo.txt</code> from the current directory on my local computer to the directory <code>$HOME/work</code> on the cluster [[Béluga/en|Béluga]]. To copy a file, <code>output.dat</code> from my project space on the cluster [[Cedar]] to my local computer I can use a command like | ||
{{Command | {{Command | ||
|scp username@cedar.computecanada.ca:projects/def-jdoe/username/results/output.dat . | |scp username@cedar.computecanada.ca:projects/def-jdoe/username/results/output.dat . | ||
}} | }} | ||
Many other examples of the use of SCP are shown [http://www.hypexr.org/linux_scp_help.php here]. Note that you always execute this < | Many other examples of the use of SCP are shown [http://www.hypexr.org/linux_scp_help.php here]. Note that you always execute this <code>scp</code> command on your local computer, not the remote cluster - the SCP connection, regardless of whether you are transferring data to or from the remote cluster, should always be initiated from your local computer. | ||
<!--T:29--> | <!--T:29--> |