Setting Up a Transfer User for a Linux Node

Aspera's Web applications authenticate to remote node services using a Node API username and password. The Node API credentials can then be used to create nodes. Different nodes may use different Node API username and password pairs.
Note: The following instructions require you to have administrative privileges.
  1. Create a system user on the node.
    # useradd username

The following steps require you to modify the aspera.conf file. You can find the aspera.conf file at /opt/aspera/etc/aspera.conf.

  1. Add the new system user to aspera.conf by adding the following section to the file.
               <user> <!-- Each user tag contains a user's profile. -->
                  <name>username</name> <!-- user name -->
                  <authorization>...</authorization> <!-- authorization settings -->
                  <transfer>...</transfer> <!-- transfer settings -->
                  <file_system>... </file_system> <!-- file system settings -->
               <user> <!-- another user's profile -->
                  ... <!-- settings -->
  2. Set the docroot in aspera.conf.
    Add the <file_system> section to your user.
    Aspera recommends that you not use spaces in your docroot. If your docroot contains spaces, you may not receive all email notifications relating to transfer activity.
  3. Enable persistent storage in aspera.conf for use with stats collector.
    In the <central_server> section, set <persistent_store> to enable as shown below. By default, <persistent_store> is disabled (not set).
  4. Restart the node service and reload the node configuration.
    # /etc/init.d/asperanoded restart
  5. Set up a transfer user with a Node API username and password.
    # /opt/aspera/bin/asnodeadmin -a -u transfer_user -p secure_password -x system_user
    Run the following command to check the system user was successfully added to asnodeadmin:
    # /opt/aspera/bin/asnodeadmin -l
    The result should be similar to the following example:
                    user       system/transfer user                    acls
    ====================    =======================    ====================
                xferuser                   asp_user    []