tSSH
Establishes a communication with distant server and returns securely sensible
information.
Returns data from a remote computer, based on the secure shell
command defined.
tSSH Standard properties
These properties are used to configure tSSH running in the Standard Job framework.
The Standard
tSSH component belongs to the System family.
The component in this framework is available in all Talend
products.
Basic settings
Schema and Edit |
A schema is a row description, it defines the number of fields to Click Edit
Click Sync columns to retrieve |
 |
Built-in: You create and store |
 |
Repository: You have already |
Host |
IP address |
Port |
Listening port number |
User |
User authentication information |
Public Key/Key |
Select the relevant option. In case of Public Key, type in To enter the passphrase, click the […] button next to |
Password/Password |
Select the relevant option. In case of Password,type in the To enter the password, click the […] button next to the |
Keyboard Interactive/Password |
Select the relevant option. In case of Keyboard Interactive, To enter the password, click the […] button next to the |
Pseudo terminal |
Select this check box to call the interactive shell that performs |
Command separator |
Type in the command separator required. Once the Pseudo terminal check box is selected, |
Commands |
Type in the command for the relevant information to be returned |
Use timeout/timeout in |
Define the timeout time period. A timeout message will be |
Standard Output |
Select the destination to which the standard output is returned. – to console: the output is – to global variable: the output – both to console and global – normal: the output is a |
Error Output |
Select the destination to which the error output is returned. The – to console: the output is – to global variable: the output – both to console and global – normal: the output is a |
Advanced settings
tStatCatcher Statistics |
Select this check box to gather the processing metadata at the Job |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the
STDOUT: the standard execution output of the remote
STDERR: the error execution output of the remote command.
EXIT_CODE: the exit code of the remote command. This is A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component can be used as standalone component. Note that for some sensitive information such as password and |
Connections |
Outgoing links (from this component to another): Row: Main
Trigger: Run if; On Component Ok; Incoming links (from one component to this one): Row: Main; Iterate
Trigger: Run if; On Component Ok; For further information regarding connections, see |
Limitation |
The component use is optimized for Unix-like systems. |
Displaying remote system information via SSH
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.

Procedure
-
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 inhostname; date
between 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.