Setting Up a Transfer Node |
# ascp -AIf you need to update your transfer server license, follow the instructions in the Updating Product License section of the IBM Aspera Enterprise Server Admin Guide.
# useradd shares
The following steps require you to modify the aspera.conf file. You can find the aspera.conf file at /opt/aspera/etc/aspera.conf.
<user>
<name>shares</name>
<file_system>
<access>
<paths>
<path>
<absolute>home/shares</absolute>
<read_allowed>true</read_allowed>
<write_allowed>true</write_allowed>
<dir_allowed>true</dir_allowed>
</path>
</paths>
</access>
</file_system>
</user>
<user> <authorization> <transfer> <in> <value>token</value> </in> <out> <value>token</value> </out> </transfer> <token> <encryption_key>gj5o930t78m34ejme9dx</encryption_key> </token> </authorization> <user>
<central_server> <address>127.0.0.1</address> <port>40001</port> <compact_on_startup>enable</compact_on_startup> <persistent_store>enable</persistent_store> <persistent_store_on_error>ignore</persistent_store_on_error> <persistent_store_max_age>86400</persistent_store_max_age> <event_buffer_overrun>block</event_buffer_overrun> </central_server>
# service asperacentral restart
# /opt/aspera/bin/asnodeadmin -a -u transfer_user -p secure_password -x system_user
# /opt/aspera/bin/asnodeadmin -lThe result should be similar to the following example:
user system/transfer user acls ==================== ======================= ==================== nodeadmin shares []
# mkdir -p /home/shares/.sshRun the following commands to create the keyfile authorized_keys if it does not already exist and append the key text to it:
# cat /opt/aspera/var/aspera_id_dsa.pub >> /home/shares/.ssh/authorized_keysRun the following commands to change the key directory and key's ownership to the shares user:
# chown shares:shares /home/shares/.ssh # chown shares:shares /home/shares/.ssh/authorized_keys # chmod 600 /home/shares/.ssh/authorized_keys # chmod 700 /home/shares # chmod 700 /home/shares/.ssh