At IU, how do I use SFTP or SCP to access my SDA account?

Important:
Before storing data on the SDA, make sure you understand the information in Types of sensitive institutional data appropriate for the Scholarly Data Archive at IU.

To use an SFTP or SCP client with the Scholarly Data Archive (SDA) at Indiana University, connect to:

  sftp.sdarchive.iu.edu

If you want to use a graphical client, UITS recommends downloading and installing one of the following free, open source clients:

  • macOS: Cyberduck
  • Linux: AnyClient
  • Windows: WinSCP
    Note:
    The Endurance feature in WinSCP, enabled by default, is not compatible with the newest version of HPSS. If Endurance is enabled, WinSCP will display an error message similar to this:

    Example WinSCP error message

    To use WinSCP with your SDA account, disable Endurance in the WinSCP Preferences (select the options highlighted in the screenshot below, and then click OK):

    Disabling Endurance in WinSCP preferences

When you connect to your SDA account, the default directory is your home directory. The path to your home directory depends on the first two characters of your username (e.g., /hpss/o/w/owkenobi or /hpss/d/a/darvader). However, most SFTP clients will display your home directory with the class of service prepended (e.g., /cos1/hpss/l/c/lcalriss).

Files you create in your home directory are assigned a default class of service (/cos1). If your files are too large for the default class of service, you can switch to another one. To do so, change to another directory by replacing the /cos1 prefix; for example:

  • To change to class of service 2, prepend /cos2 to your current directory (e.g., /cos2/hpss/p/a/pamidala).
  • To change to class of service 3, prepend /cos3 to your current directory (e.g., /cos3/hpss/j/a/jarbinks).

The contents of the directory will appear the same in either case, but writing files to the different directories creates files in the selected class of service. For more, see On the Scholarly Data Archive at IU, what are classes of service, and how do I use them?

If you frequently use different classes of service, you can create links in your home directory to make changing directories easier. For example, in SFTP, you can do the following (replace the example username, home directory, and filename with your own):

  sftp dartmaul@sftp.sdarchive.iu.edu
  sftp> symlink /cos3/hpss/d/m/dartmaul big
  sftp> cd big
  sftp> put my_big_file.zip

Although you must use SFTP to create the link, you can use it with SCP; for example:

  scp *.zip dartmaul@sftp.sdarchive.iu.edu:big

If you have questions about accessing your SDA data using SFTP or SCP, or need help, email the UITS Research Storage team. For information about other methods for accessing the SDA, see At IU, how do I access the SDA?

This is document avax in the Knowledge Base.
Last modified on 2018-02-27 10:39:54.

Contact us

For help or to comment, email the UITS Support Center.