
Component family |
System |
|
Function |
Returns data from a remote computer, based on the secure shell |
|
Purpose |
Allows to establish a communication with distant server and return |
|
Basic settings |
Schema and Edit |
A schema is a row description, it defines the number of fields to Since version 5.6, both the Built-In mode and the Repository mode are Click Edit schema to make changes to the schema. If the
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 |
Authentication method |
Public Key/Key |
Select the relevant option. In case of Public Key, type in To enter the passphrase, click the […] button next to |
Authentication method |
Password/Password |
Select the relevant option. In case of Password,type in the To enter the password, click the […] button next to the |
Authentication method |
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 |
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 |
|
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 Talend Studio |
|
Usage |
This component can be used as standalone component. Note that for some sensitive information such as password and |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|
Limitation |
The component use is optimized for Unix-like systems. |
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 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.