Bureaucrats, cc_docs_admin, cc_staff
2,320
edits
No edit summary |
No edit summary |
||
Line 133: | Line 133: | ||
<!--T:28--> | <!--T:28--> | ||
SCP stands for [https://en.wikipedia.org/wiki/Secure_copy "Secure Copy"]. Like SFTP it uses the SSH protocol to encrypt data being transferred. It does not support synchronization like [[Globus]] or [[Transferring_data#Rsync|rsync]]. Some examples of SCP use are shown [http://www.hypexr.org/linux_scp_help.php here]. | SCP stands for [https://en.wikipedia.org/wiki/Secure_copy "Secure Copy"]. Like SFTP it uses the SSH protocol to encrypt data being transferred. It does not support synchronization like [[Globus]] or [[Transferring_data#Rsync|rsync]]. Some examples of the most common use of SCP include | ||
{{Command | |||
|scp foo.txt username@beluga.computecanada.ca:work/ | |||
}} | |||
which will copy the file foo.txt from the current directory on my local computer to the directory <tt>$HOME/work</tt> on the cluster [[Béluga]]. To copy a file, <tt>output.dat</tt> from my project space on the cluster [[Cedar]] to my local computer I can use a command like | |||
{{Command | |||
|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]. | |||
<!--T:29--> | <!--T:29--> |