Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
help:general_linux:filecopy [2019/05/21 19:54]
jebailie [Logging in using ssh]
help:general_linux:filecopy [2019/05/21 19:55]
jebailie [Using scp]
Line 42: Line 42:
 ==== Using scp ==== ==== Using scp ====
  
-To copy a file from your computer to your computer science account:\\ ''scp FILE USER@mote.cs.vassar.edu:/home/USER'' where FILE is the file name (optionally with a path) and USER is your user name.+To copy a file from your computer to your computer science account:\\ ''scp -P 443 FILE USER@mote.cs.vassar.edu:/home/USER'' where FILE is the file name (optionally with a path) and USER is your user name.
  
-To copy a file from your computer science account to your computer:\\ ''scp USER@mote.cs.vassar.edu:/home/USER/PATH_TO_FILE ./'' where PATH_TO_FILE is the file and USER is your user name. Note, the path ''./'' means current directory as a path cannot be ommitted here. You can use ''man scp'' to find out more information about scp. One commonly used flag is ''-r'', which is used to recursively copy whole directories. For example: \\ ''scp -r DIRECTORY USER@mote.cs.vassar.edu:/home/USER''+To copy a file from your computer science account to your computer:\\ ''scp -P 443 USER@mote.cs.vassar.edu:/home/USER/PATH_TO_FILE ./'' where PATH_TO_FILE is the file and USER is your user name. Note, the path ''./'' means current directory as a path cannot be ommitted here. You can use ''man scp'' to find out more information about scp. One commonly used flag is ''-r'', which is used to recursively copy whole directories. For example: \\ ''scp -P 443 -r DIRECTORY USER@mote.cs.vassar.edu:/home/USER''
  
 ==== Graphical secure copy tools ==== ==== Graphical secure copy tools ====