Scenario: Remote system information display via SSH - 6.3

Talend Components Reference Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

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.

  1. Type in the name of the Host to be accessed through SSH as well as the Port number.

  2. Fill in the User identification name on the remote machine.

  3. Select the Authentication method on the list. For this use case, the authentication method used is the public key.

  4. Thus fill in the corresponding Private key.

  5. On the Command field, type in the following command. For this use case, type in hostname; date between double quotes.

  6. 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.