Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I had two jobs working fine with tSSH and recently now I'm getting this exception error?
And the issue is that I'm not connecting to "pi@192.168.0.78" at all.
My job is connecting to an AWS ec2 instance?>?
starting job ssh at 10:20 01/08/2021.
[statistics] connecting to socket on port 3778
[statistics] connected
Exception in component tSSH_1 (ssh)
java.io.IOException: java.lang.IllegalArgumentException: Invalid host pattern char in pi@192.168.0.78
at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.resolveEffectiveHost(ConfigFileHostEntryResolver.java:78)
at org.apache.sshd.client.SshClient.connect(SshClient.java:471)
at org.apache.sshd.client.session.ClientSessionCreator.connect(ClientSessionCreator.java:60)
at org.apache.sshd.client.session.ClientSessionCreator.connect(ClientSessionCreator.java:43)
at remote_jobs.ssh_0_1.ssh.tSSH_1Process(ssh.java:561)
at remote_jobs.ssh_0_1.ssh.runJobInTOS(ssh.java:1177)
at remote_jobs.ssh_0_1.ssh.main(ssh.java:929)
Caused by: java.lang.IllegalArgumentException: Invalid host pattern char in pi@192.168.0.78
at org.apache.sshd.common.util.ValidateUtils.createFormattedException(ValidateUtils.java:213)
at org.apache.sshd.common.util.ValidateUtils.throwIllegalArgumentException(ValidateUtils.java:179)
at org.apache.sshd.common.util.ValidateUtils.checkTrue(ValidateUtils.java:168)
at org.apache.sshd.client.config.hosts.HostPatternsHolder.toPattern(HostPatternsHolder.java:284)
at org.apache.sshd.client.config.hosts.HostPatternsHolder.parsePatterns(HostPatternsHolder.java:237)
at org.apache.sshd.client.config.hosts.HostConfigEntry.setHost(HostConfigEntry.java:148)
at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:866)
at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:796)
at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:790)
at org.apache.sshd.client.config.hosts.HostConfigEntry.readHostConfigEntries(HostConfigEntry.java:777)
at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.reloadHostConfigEntries(ConfigFileHostEntryResolver.java:104)
at org.apache.sshd.client.config.hosts.DefaultConfigFileHostEntryResolver.reloadHostConfigEntries(DefaultConfigFileHostEntryResolver.java:83)
at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.resolveEffectiveResolver(ConfigFileHostEntryResolver.java:89)
at org.apache.sshd.client.config.hosts.ConfigFileHostEntryResolver.resolveEffectiveHost(ConfigFileHostEntryResolver.java:59)
... 6 more
[FATAL] 10:20:55 remote_jobs.ssh_0_1.ssh- tSSH_1 java.lang.IllegalArgumentException: Invalid host pattern char in pi@192.168.0.78
Then I created a simple jobs to just echo "Talend Open Studio"
And I get the same error?
And if I run this job on another laptop it works fine???
Hello,
Is there any change for your context value?
Are you able to work fine with tSSH with exact number directly?
Best regards
Sabrina
No differece if I use vaules directly...
Hello,
Could you please clarify in which Talend version/edition you are?
Have you tried to re-create a new job with the same tssh component setting to see if it works?
Best regards
Sabrina