C:\plink.exe user@remote_host_or_ip -pw password -ssh -N -C -L 13306:127.0.0.1:3306
fs.run "C:\plink.exe user@remote_host_or_ip -pw password -ssh -N -C -L 13306:127.0.0.1:3306", 0
"cmd /c taskkill /F /IM plink.exe"
Been trying to do the same, however, we have differences as follows:
1. Using Talend 6.2.1 on Windows 10
2. Linux Server (RHEL 7 MySQL Package) separate from DB server
Goal is to setup DB connection from local PC (using Talend) to MySQL via SSH connection: Local PC -> SSH Connection (e.g. mdmuser/<password>) -> MySQL DB (e.g. talend_mdm_dev/<password>).
It is necessary to connect to Linux server first before accessing DB server.
Never use "localhost" for hostname (but 127.0.0.1) if ssh host and mysql server on the same machine
Hope it helps
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Create systems and workflow to manage clean data ingestion and data transformation.