| Configuring for Other Aspera Products | |
The steps below show how to set up IBM Aspera Enterprise Server as a transfer server for IBM Aspera Shares. The procedure assumes you have already set up your Shares application. For general information on setting up a transfer server (using the Node API), see Set up for Node API.
Follow the instructions in Installation and Upgrades to install Enterprise Server either locally (on the same host as Shares) or remotely.
The steps below must be performed as root.
# useradd aspera_user_1
Configure the operating system user in Enterprise Server to make it an Aspera transfer user. For instructions, see Setting Up Users or Setting Up Transfer Users (Terminal).
# /opt/aspera/bin/asnodeadmin -a -u node_api_username -p node_api_passwd -x aspera_user_1
For example, if the file transfer user is aspera_user_1, the standard location for the public key is in the user's home directory, as follows:
/home/aspera_user_1/.ssh/authorized_keys
The Aspera-provided key file is located in:
/opt/aspera/var/aspera_tokenauth_id_rsa.pub
On the command line, run the following to create the user's public key folder (if it does not already exist):
# mkdir /home/aspera_user_1/.ssh
Run the following commands to create the keyfile authorized_keys (if it does not already exist), and append the key text to it. Update the directory permissions and ownership if necessary.
# cat /opt/aspera/var/aspera_tokenauth_id_rsa.pub >> /home/aspera_user_1/.ssh/authorized_keys
Run the following commands to change the key directory and keyfile's ownership to user aspera_user_1, to allow access by the aspera_user_1 group, and to set permission bits:
# chown -R aspera_user_1:aspera_user_1 /home/aspera_user_1/.ssh/authorized_keys # chmod 600 /home/aspera_user_1/.ssh/authorized_keys # chmod 700 /home/aspera_user_1 # chmod 700 /home/aspera_user_1/.ssh
# asconfigurator -x "set_server_data;server_name,server_ip_or_name" # asconfigurator -x "set_central_server_data;persistent_store,enable" # asconfigurator -x "set_http_server_data;enable_http,true" # asconfigurator -x "set_http_server_data;enable_https,true"
# asconfigurator -x "set_user_data;user_name,username;authorization_transfer_in_value,token" # asconfigurator -x "set_user_data;user_name,username;authorization_transfer_in_value,token" # asconfigurator -x "set_user_data;user_name,username;token_encryption_key,encryption_key"The encryption key should be a string of random characters (at least 20 recommended).
Alternatively, you can configure token-authorization settings to apply to all users in a group or to apply them globally for all users. For more information, see User, Group and Default Configurations.
# /etc/init.d/asperacentral restart
# /etc/init.d/asperanoded restart