The following use case describes a basic Job that uses SSH command to display the hostname of the distant server being connected to, and the current date on this remote system.
The tSSH component is sufficient for this Job. Drop it from the Palette to the design workspace.
Double-click on the tSSH component and select the Basic settings view tab.
Type in the name of the Host to be accessed through SSH as well as the Port number.
Fill in the User identification name on the remote machine.
Select the Authentication method on the list. For this use case, the authentication method used is the public key.
Thus fill in the corresponding Private key.
On the Command field, type in the following command. For this use case, type in
hostname; datebetween double quotes.
Select the Use timeout check box and set the time before falling in error to 5 seconds.
The remote machine returns the host name and the current date and time as defined on its system.