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
Previous revision
Next revision Both sides next revision
help:general_linux:filecopy [2016/05/18 11:57]
jebailie [Logging in using ssh]
help:general_linux:filecopy [2019/05/21 19:55]
jebailie [Using scp]
Line 14: Line 14:
  
   - Open a terminal. In Mac OS X, you can find this in Applications/Utilities/Terminal. An xterm or console window will work for other operating systems.   - Open a terminal. In Mac OS X, you can find this in Applications/Utilities/Terminal. An xterm or console window will work for other operating systems.
-  - Type the following to connect, replacing USER with your user name. Your user name is likely the first two letters of your first name and your whole last name, all in lower case:\\ ''ssh USER@mote.cs.vassar.edu''\\  It may take a few seconds to authenticate your connection.+  - Type the following to connect, replacing USER with your user name. Your user name is likely the first two letters of your first name and your whole last name, all in lower case:\\ ''ssh USER@mote.cs.vassar.edu -p 443''\\  It may take a few seconds to authenticate your connection.
   - If this is the first time connecting to the department, you will be given an error message similar to "The authenticity of host 'mote.cs.vassar.edu' (143.229.6.33)' can't be established." and will be followed by the fingerprint: 9f:98:d5:06:14:59:7c:ce:75:4c:cf:81:12:ab:fd:7e. If this value matches, respond yes.   - If this is the first time connecting to the department, you will be given an error message similar to "The authenticity of host 'mote.cs.vassar.edu' (143.229.6.33)' can't be established." and will be followed by the fingerprint: 9f:98:d5:06:14:59:7c:ce:75:4c:cf:81:12:ab:fd:7e. If this value matches, respond yes.
   - You will be prompted for your password. It is normal for no characters to appear when you type. Just press 'Enter' when you are done.   - You will be prompted for your password. It is normal for no characters to appear when you type. Just press 'Enter' when you are done.
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 ====