At IU, how do I use SFTP or SCP to access my SDA account?
Note: For information about other methods of accessing the SDA, see At IU, how do I access the SDA?
To use an SFTP or SCP client with the Scholarly Data Archive (SDA) at Indiana University, connect to:
sftp.sdarchive.iu.eduNote: Graphical SCP clients that rely on the existence of services other than SCP will not work with SDA. If you need a graphical client, use an SFTP client, or a client with an SFTP option, such as WinSCP.
The default directory will be your SDA home directory, which is
created according to the first two characters in your username (e.g.,
/hpss/u/s/username or
/hpss/j/q/jqpublic). Files you create in this directory
will be assigned a default class of service. If your files
are too large for this class of service, you can switch to class of
service 2 or class of service 3 by changing to another directory:
- To change to class of service 2, prepend
/cos2to your current directory (e.g.,/cos2/hpss/u/s/username).
- To change to class of service 3, prepend
/cos3to your current directory (e.g.,/cos3/hpss/u/s/username).
The contents of the directory will appear the same in either case, but writing files to the different directories will create files in the selected class of service.
Most SFTP clients will not report your current directory as
/hpss/u/s/username in the default case, but will instead
report it as /cos1/hpss/u/s/username. It's fine to leave
the /cos1 there, unless you want to use a different class
of service; in that case, remove the prefix /cos1 before
using a different prefix.
If you frequently change class of service with this method, you can create links in your home directory to make changing directories easier. For example, in SFTP, you could do the following:
sftp username@sftp.sdarchive.iu.edu sftp> symlink /cos3/hpss/u/s/username big sftp> cd big sftp> put my_big_file.zipWhile you can create the link only with SFTP, you can use it with SCP as well:
scp *.zip username@sftp.sdarchive.iu.edu:bigLast modified on October 12, 2011.







