Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tSystem to call a remote command

When I use tSystem, it searches for the command on the local filesystem where Talend Studio is running. I want to run the command on a remote server. Is it possible to do this?

Labels (2)
4 Replies
Anonymous
Not applicable
Author

You can use tSsh to execute commands in a remote server , via the ssh protocol 
Anonymous
Not applicable
Author

perfect! thanks. 
One follow up question. With tSsh, I have to give hostname, userid and password. The intent here is to run on the same server as Talend and use the same credentials that Talend is using. Is there anyway that I can avoid providing user id and password and just run on 'localhost'?
Anonymous
Not applicable
Author

If you want to execute commands wherever the job is running, use tSystem

If you want to execute a remote (from perspective of the job) command, you can use tSsh.
With this component, you can switch to public / private key authentication. That requires one time setup and exchange of keys. However, then you don't need user passwords. You should also consider using context variables in the Place of hardcoding user names, the passwords, etc. then the context variables can either be passed in as command line arguments or read from an environment specific property file (recommended )
Anonymous
Not applicable
Author

Thank you dbh. Appreciate your help.
Context variables via environment specific property file is what we are using for other jobs and we will use it for this one as well. Thank you.