Below are some example commands and usage tips.
Note: You can also see sample commands for nearly all configurations by running the following asuser command:
# /opt/aspera/bin/asuserdata -+
  • Setting the docroot of your transfer user
    # asconfigurator -x "set_user_data;user_name,transferuser;absolute,/path/to/docroot"
  • Enabling HTTP Fallback using HTTPS on port 8444.
    # asconfigurator -x "set_http_server_data;enable_https,true"
    # asconfigurator -x "set_http_server_data;https_port,8444"
    Note: You can also chain two or more parameters to set within the same command. The two commands above can be combined as follows (separated by semi-colons):
    # asconfigurator -x "set_http_server_data;enable_https,true;https_port,8444"
  • Setting the global inbound target transfer rate to 80Mb/s
    # asconfigurator -x "set_node_data;transfer_in_bandwidth_flow_target_rate_default,80000"
  • Getting all the configurations set on the group aspera_group
    # /opt/aspera/bin/asuserdata -g aspera_group
  • Creating and enabling a Vlink with an ID of 101 and a capacity of 100Mb/s
    # asconfigurator -x "set_trunk_data;id,101;trunk_on,true;trunk_capacity,100000"
  • Allowing only encrypted transfers
    # asconfigurator -x "set_node_data;transfer_encryption_allowed_cipher,aes-128"
  • Setting the hostname of the Aspera server to example.com
    # asconfigurator -x "set_server_data;server_name,example.com"
  • Setting the global token life back to the default value of 24 hours (86400 seconds)
    Note: You can reset any setting to its default value by setting it to AS_NULL
    # asconfigurator -x "set_node_data;token_life_seconds,AS_NULL"