How do I copy files between the RCE and FASSE?

We recommend using rsync to copy files between RCE and FASSE, although ssh, scp, and sftp will also work.

Examples:

Via rsync:

Note: You can add the -v flag to rsync to receive a list of every file transferred.

Note: If you have ssh keys for the RCE set up on your computer, you may not be prompted for your password when logging in to the RCE.

  1. SSH into FASSE.
ssh jharvard@fasselogin.rc.fas.harvard.edu
Password:
Verification code:

2.  Copy an individual file from the RCE to FASSE
[jharvard@fasselogin02 ~]$ rsync -ah jharvard@rce.hmdc.harvard.edu:~/testing/copythisfile.txt ~/
jharvard@rce.hmdc.harvard.edu's password: 
receiving incremental file list
copythisfile.txt

sent 30 bytes received 211 bytes 37.08 bytes/sec
total size is 104 speedup is 0.43

3.  Copy a directory from the RCE to FASSE
[jharvard@fasselogin02 ~]$ rsync -ah jharvard@rce.hmdc.harvard.edu:~/testing/copythisdir ~/
jharvard@rce.hmdc.harvard.edu's password: 
receiving incremental file list
copythisdir/
copythisdir/somefile.txt

sent 34 bytes received 165 bytes 36.18 bytes/sec
total size is 29 speedup is 0.15

 

Via scp:

  1. SSH into FASSE (the transfer needs to originate from the FASSE side)
     
  2. Use the SCP command to transfer your data:
    scp YourRCEUsername@rce.hmdc.harvard.edu:ThePathToTheFileToTransfer TheDestinationPathOnFASSE
    Example:
    scp jsmith@rce.hmdc.harvard.edu:~/test.doc ~/test.doc
    will move the file test.doc from RCE user jsmith's RCE home folder to their FASSE home folder.
     
  3. You can also reverse this, if for whatever reason you need to move something from FASSE to the RCE:
    scp ~/test.doc jsmith@rce.hmdc.harvard.edu:~/test.doc
     
  4. To transfer the contents of a directory, use -r.  Using -p will also preserve file timestamps and permisssions:
    scp -rp jsmith@rce.hmdc.harvard.edu:~/mydir ~

If you don't know the exact path to the data you want to transfer, you can SSH to the RCE from FASSE to check before transferring.

Alternatively, if you need to transfer files, you can transfer files to and from the RCE and FASSE separately from your client computer using Filezilla.

 

Technical Detail:
The encryption libraries on the RCE are too old to support connecting to FAS RC Cannon. However, the newer encryption libraries on FAS RC Cannon are backward-compatible, allowing it to connect to the IQSS HMDC RCE.

 

If you try to SSH from the RCE to FASSE, you will receive an error:
[jharvard@rce6-1.hmdc.harvard.edu ~]$ ssh jharvard@fasselogin.rc.fas.harvard.edu
no matching mac found: client umac-64@openssh.com,hmac-sha1,hmac-ripemd160 server hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com

To avoid this error, you must initiate the SSH (or scp/sftp) command from FASSE, to the IQSS HMDC RCE:

[jharvard@fasselogin02 ~]$ ssh jharvard@rce.hmdc.harvard.edu
Password:
[jharvard@rce6-1.hmdc.harvard.edu]$