Hi Juvanni,
You'd need to know the actual SSH user that you need to use for the transfer, in addition to the SSH port used by the specific HSTS server you are trying to connect to (typically 33001 which is the default), and the appropriate hostname or IP to use from your network location.
The access key and secret would be used to construct a Basic Token that would then authorize you to actually perform the transfer after establishing the SSH connection: https://www.ibm.com/docs/en/ahts/4.4.x?topic=aa-basic-tokens-2
You'd specify that token string 'Basic ...' in the 'token' field in the transfer spec provided to the Transfer SDK to start the transfer.
------------------------------
Jose Gomez
------------------------------
Original Message:
Sent: Mon August 19, 2024 03:50 AM
From: Juvanni Galarse
Subject: Transfer SDK on HSTS
Hey guys! I need a little help. We currently have an HSTS version 4 setup. We are using the Transfer SDK with a running daemon to download files. We only have Access and Secret Key available to us and when we use those credentials to download we get the error:
errorCode:44
errorDescription: Failed to open TCP connection for SSH
Does the Transfer SDK accept Access and Secret key as credentials? or does it have to be an actual SSH user?
Thanks!
------------------------------
Juvanni Galarse
------------------------------