<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Configure tSSH using authentication method as Public key in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Configure-tSSH-using-authentication-method-as-Public-key/m-p/2278235#M53770</link>
    <description>Hi All,
&lt;BR /&gt;I am trying to connect to secure shell server using tSSH component with authentication method as Public Key.
&lt;BR /&gt;Need help in configuring value for below two fields:
&lt;BR /&gt;1) Pass Phrase
&lt;BR /&gt;2) Private key
&lt;BR /&gt;Below is error i am getting:
&lt;BR /&gt;Starting job temp1 at 12:40 26/12/2016.
&lt;BR /&gt; connecting to socket on port 3422
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tSSH_1
&lt;BR /&gt;java.io.IOException: Publickey authentication failed.
&lt;BR /&gt;at ch.ethz.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:281)
&lt;BR /&gt;at ch.ethz.ssh2.Connection.authenticateWithPublicKey(Connection.java:459)
&lt;BR /&gt;at ch.ethz.ssh2.Connection.authenticateWithPublicKey(Connection.java:510)
&lt;BR /&gt;at ideation.temp1_0_1.temp1.tSSH_1Process(temp1.java:335)
&lt;BR /&gt;at ideation.temp1_0_1.temp1.runJobInTOS(temp1.java:648)
&lt;BR /&gt;at ideation.temp1_0_1.temp1.main(temp1.java:505)
&lt;BR /&gt;Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing
&lt;BR /&gt;at ch.ethz.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:141)
&lt;BR /&gt;at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:321)
&lt;BR /&gt;at ch.ethz.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:190)
&lt;BR /&gt;... 5 more
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job temp1 ended at 12:40 26/12/2016. 
&lt;BR /&gt;
&lt;BR /&gt;Attached is screen shot of component current cofiguration.</description>
    <pubDate>Mon, 26 Dec 2016 07:15:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-26T07:15:59Z</dc:date>
    <item>
      <title>Configure tSSH using authentication method as Public key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Configure-tSSH-using-authentication-method-as-Public-key/m-p/2278235#M53770</link>
      <description>Hi All,
&lt;BR /&gt;I am trying to connect to secure shell server using tSSH component with authentication method as Public Key.
&lt;BR /&gt;Need help in configuring value for below two fields:
&lt;BR /&gt;1) Pass Phrase
&lt;BR /&gt;2) Private key
&lt;BR /&gt;Below is error i am getting:
&lt;BR /&gt;Starting job temp1 at 12:40 26/12/2016.
&lt;BR /&gt; connecting to socket on port 3422
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tSSH_1
&lt;BR /&gt;java.io.IOException: Publickey authentication failed.
&lt;BR /&gt;at ch.ethz.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:281)
&lt;BR /&gt;at ch.ethz.ssh2.Connection.authenticateWithPublicKey(Connection.java:459)
&lt;BR /&gt;at ch.ethz.ssh2.Connection.authenticateWithPublicKey(Connection.java:510)
&lt;BR /&gt;at ideation.temp1_0_1.temp1.tSSH_1Process(temp1.java:335)
&lt;BR /&gt;at ideation.temp1_0_1.temp1.runJobInTOS(temp1.java:648)
&lt;BR /&gt;at ideation.temp1_0_1.temp1.main(temp1.java:505)
&lt;BR /&gt;Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing
&lt;BR /&gt;at ch.ethz.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:141)
&lt;BR /&gt;at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:321)
&lt;BR /&gt;at ch.ethz.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:190)
&lt;BR /&gt;... 5 more
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job temp1 ended at 12:40 26/12/2016. 
&lt;BR /&gt;
&lt;BR /&gt;Attached is screen shot of component current cofiguration.</description>
      <pubDate>Mon, 26 Dec 2016 07:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Configure-tSSH-using-authentication-method-as-Public-key/m-p/2278235#M53770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-26T07:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configure tSSH using authentication method as Public key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Configure-tSSH-using-authentication-method-as-Public-key/m-p/2278236#M53771</link>
      <description>Hi,&lt;BR /&gt;We can't see the screenshot on our side. Could you attach it on the forum, please? That would be great.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 27 Dec 2016 08:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Configure-tSSH-using-authentication-method-as-Public-key/m-p/2278236#M53771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-27T08:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Configure tSSH using authentication method as Public key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Configure-tSSH-using-authentication-method-as-Public-key/m-p/2278237#M53772</link>
      <description>Hi xdshi, 
&lt;BR /&gt;I'm also trying the same and getting the below exception, 
&lt;BR /&gt;: z_tdmig_dev.shell_copy_0_1.Shell_Copy - tSSH_1 - Connection attempt to 'XXXDBDA03' on the port '22' as 'ramakrn'. 
&lt;BR /&gt;: z_tdmig_dev.shell_copy_0_1.Shell_Copy - tSSH_1 - Authentication using a public key. 
&lt;BR /&gt;: z_tdmig_dev.shell_copy_0_1.Shell_Copy - tSSH_1 /home1/ramakrn/.ssh/id_rsa (No such file or directory) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Exception in component tSSH_1 
&lt;BR /&gt;java.io.FileNotFoundException:&amp;nbsp;/home1/ramakrn/.ssh/id_rsa&amp;nbsp;(No such file or directory). 
&lt;BR /&gt;I have created the key file seeing the link below by logging into ramakrn user, 
&lt;BR /&gt; 
&lt;A href="https://www.linode.com/docs/security/use-public-key-authentication-with-ssh" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.linode.com/docs/security/use-public-key-authentication-with-ssh&lt;/A&gt; 
&lt;BR /&gt;I have given &amp;nbsp;"/home1/ramakrn/.ssh/id_rsa" in Private key field. 
&lt;BR /&gt;Kindly help.</description>
      <pubDate>Mon, 30 Jan 2017 12:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Configure-tSSH-using-authentication-method-as-Public-key/m-p/2278237#M53772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T12:26:46Z</dc:date>
    </item>
  </channel>
</rss>

