Installing HSTS
To install HSTS, log in to your computer as Root. If you’re in an Active Directory environment, use a Domain Administrator account.
About this task
Note: If you are upgrading or rolling back, prepare your system by completing the required upgrade tasks to avoid installation errors and preserve your configuration settings. For more information, see Upgrading or rolling back HSTS.
Procedure
-
Download HSTS from Fix Central.
To access and download the packages, you must sign in with your IBMid credentials.Attention: The sudo package must be installed on your Unix system to allow certain IBM Aspera applications to perform privileged operations.
-
Run the installer.
Double-click the installer package and follow the on-screen instructions.Note: If the installer hangs during installation, another Aspera product might be running on your computer. To stop all FASP transfer-related applications and connections, see Upgrading or rolling back HSTS.
-
If you are using a perpetual license, activate your license.
-
Go to the license file and rename it
aspera-license. The default location is the Downloads folder. -
In the Finder menu bar, select Go > Go to Folder, and enter
/Library. Next go to Library > Aspera > etc and copy or drag the license file. - Enter the administrator username and password to allow Finder the permission to move the file.
-
Go to the license file and rename it
-
If you are using an entitlement, set it up.
Run the following commands to start the ALEE service, restart reloadasperanoded, and register your entitlement:
$ sudo /Library/Aspera/bin/asalee-config.sh enable $ sudo /Library/Aspera/bin/alee-admin register customer_id entitlement_id $ sudo launchctl unload /Library/LaunchDaemons/com.aspera.asperanoded.plist $ sudo launchctl load /Library/LaunchDaemons/com.aspera.asperanoded.plistThe output information includes when the Aspera entitlement server was reached.
Verify that you can now reach the Aspera entitlement server with the following command:
The output must include$ curl -i https://api.ibmaspera.com/metering/pingHTTP/1.1 200 OK. -
Start HSTS.
In Finder go to Applications > Applications > IBM High-Speed Transfer Server. Double-click to start HSTS.
-
Edit OpenSSH authentication methods.
- Open your SSH Server configuration file from /etc/ssh/sshd_config with a text editor.
-
To allow public key authentication, set
PubkeyAuthenticationtoyes. To allow password authentication, setPasswordAuthenticationtoyes.Important: macOS servers must havePasswordAuthenticationset toyes.For example,
... PubkeyAuthentication yes PasswordAuthentication yes ... -
Enable SSH-based services.
The System Integrity Protection feature in macOS blocks SSH-based services, which are required for Aspera transfers. To enable Aspera services, uncomment the setting
PermitUserEnvironmentand change the value toyes. -
Save the file and restart the SSH server to apply the new settings.
Restarting your SSH server does not affect currently connected users. Click Apple menu > System Preferences > Sharing. Clear and then reselect Remote Login from the left panel. In the Allow access for: option, select All users, or specify individual user accounts for the FASP connections.
- To further secure your SSH Server, see Installing and configuring the SSH Server.
-
Set the SSH path for transfer users.
-
Create a file named environment for every transfer user in the following location:
/Users/username/.ssh/ -
Paste the following content into the file:
PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/opt/pkgconfig/bin:/Library/Aspera/bin:/Library/Aspera/sbinThis sets the PATH variable for remote connections.
-
To allow local transfer users to run ascp commands, paste the same content, prefaced with
exportinto the following file (which you might need to create):/Users/username/.zshrc_profileNote: Create a.bash_profileif the user's configured shell is bash. Run:/Users/username/.bash_profile
-
Create a file named environment for every transfer user in the following location:
-
Secure your server or update your existing configuration.
- Configure your firewall. See Configuring the firewall.
- Change and secure the TCP port. See Installing and configuring the SSH Server.
- Determine whether you want to use server-side encryption at rest. See Server-Side Encryption-at-Rest (EAR) for instructions on configuring in the GUI or Server-Side Encryption-at-Rest (EAR) for instructions on configuring the encryption from the command line.