The RTDC
Processing SMA Data
1.2 m Telescopes
AST/RO
Extra

SSH and Data Transfer Between RTDC and CF


SSH from CF to RTDC

You can ssh directly to the RTDC machines from CF.

$ ssh rtdc9

SSH from RTDC to CF

You must first ssh to login (the CF will have given you a password to this login machine), and from there ssh to one of the CF machines.

$ ssh login
$ ssh cfa0


Transfer data between CF and RTDC

To transfer data between the CF and RTDC you should always start at the CF location and push or pull accordingly. This avoids the login gateway. E.g.

  • Transfer data in your current working directory on cfa0 to rtdc7:

    $ scp myfiles user@rtdc7:/home/user

  • Transfer data from rtdc7 to your current working directory on cfa0:

    $ scp user@rtdc7:/home/user/myfiles .

If you have a very large file, you may find rsyncing more reliable than scp. Beware you do not overwrite your new version with the old.

  • Transfer data from your current working directory on cfa0 to rtdc9:

    $ rsync -av myfile.tar user@rtdc9:/data1/user

Using rsync is particularly efficient if a version of the file already exists at the destination, as it will only transfer the differences. On the first occasion though it will transfer over the full file.


Transfer data between different RTDC machines

Data can be transferred between the RTDC machines using scp. Note that rtdc9:/data1 disk is exported to the other machines.
Ask Holly (room 322) if you need help.


Useful CF links

Getting Connected to the CfA Network
Anonymous ftp for exchanging files

CENTER FOR ASTROPHYSICS | HARVARD & SMITHSONIAN
60 GARDEN STREET, CAMBRIDGE, MA 02138