<?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 Re: SFTP Web connector error in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006631#M11652</link>
    <description>&lt;P&gt;This is an SFTP site running on Azure&amp;nbsp; server.blob.core.windows.net&lt;/P&gt;
&lt;P&gt;-If I change the host name it fails differently so I think that's good&lt;BR /&gt;-If I remove the .containername.username from the username I get a different error so it's seeing that&lt;BR /&gt;-If I remove the passphrase it's erroring out so it sees that too&lt;/P&gt;
&lt;P&gt;It's almost like the username and passphrase are wrong but this combo works fine connecting from Oracle.&lt;BR /&gt;&lt;BR /&gt;The error in the Qlik log is:&lt;BR /&gt;&lt;BR /&gt;Rebex.Net.SftpException: A public key corresponding to the supplied private key was not accepted by the server or the user name is incorrect. ---&amp;amp;gt; Rebex.Net.SshException: A public key corresponding to the supplied private key was not accepted by the server or the user name is incorrect.&lt;BR /&gt;at Rebex.Net.SshSession.dxgpo(String p0, String p1, SshPrivateKey p2, SshGssApiCredentials p3, Boolean p4)&lt;BR /&gt;&lt;BR /&gt;So it seems like it's getting an error back from the SFTP server.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 20:24:22 GMT</pubDate>
    <dc:creator>mattdetwiler</dc:creator>
    <dc:date>2022-11-18T20:24:22Z</dc:date>
    <item>
      <title>SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2002031#M11586</link>
      <description>&lt;P&gt;I'm trying to connect to an SFTP data source with a private key and passphrase.&amp;nbsp; I think everything is good but I'm getting the following error:&amp;nbsp; "There was an Error running the table (status code - 500.&amp;nbsp; A public key corresponding to the supplied private key was not accepted by the server or the user name is incorrect)&lt;/P&gt;
&lt;P&gt;The user name is working on other systems just fine and I don't see anywhere where I can load the public key.&amp;nbsp; I've tried to check the "Allow self signed" option and that doesn't seem to be working.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 22:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2002031#M11586</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2022-11-08T22:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2004319#M11618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79801"&gt;@mattdetwiler&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The Public key should be in place on the SFTP server.&amp;nbsp; You'll need to use the Private key file on the server that is hosting WebConnectors, then provide that info in the entry for&amp;nbsp;&lt;SPAN&gt;Path To Private Key File.&lt;BR /&gt;&lt;BR /&gt;It's been a while since I tested but I believe if you have the key for 'User1',&amp;nbsp; e.g. 'user1.pub', you would put it somewhere reachable such as 'D:\Keys' and then use the path as&amp;nbsp; D:\Keys\user1.pub for that user.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; I just tested this and :&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Using PuttyGen,I created a new key pair and got the passphrase.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;I then created my user at the SFTP site and uploaded the public key for that user.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;I moved the private key to my WebConnectors server in C:\Temp\Keys.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;I went back to WebConnectors UI and it worked using "C:\Temp\Keys\private.ppk" in the&amp;nbsp;Path To Private Key File field, and manually entering my passphrase.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;I hope that helps!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 22:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2004319#M11618</guid>
      <dc:creator>Jay_Brown</dc:creator>
      <dc:date>2022-11-14T22:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2004325#M11619</link>
      <description>&lt;P&gt;Ok I have the private key in a folder that is allowed to the web connectors but it is giving me that error.&amp;nbsp; My devops team says they are able to connect to the SFTP server from that machine.&lt;/P&gt;
&lt;P&gt;It feels like either Qlik is expecting me to use a password or maybe that the format of the key isn't what Qlik is expecting.&amp;nbsp; We are currently using a .pem format for Oracle Integration Services.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 22:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2004325#M11619</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2022-11-14T22:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006422#M11646</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79801"&gt;@mattdetwiler&lt;/a&gt;&amp;nbsp;, when I set this up the passphrase was required.&amp;nbsp; Did your DevOps team give that to you?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006422#M11646</guid>
      <dc:creator>Jay_Brown</dc:creator>
      <dc:date>2022-11-18T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006587#M11650</link>
      <description>&lt;P&gt;I have a passphrase but not a password&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 19:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006587#M11650</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2022-11-18T19:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006616#M11651</link>
      <description>&lt;P&gt;My lab environment works without a password for both download and upload.&amp;nbsp; All I need is the Private Key file File and the passphrase that goes with it.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="keygen.png" style="width: 620px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94121i6C3C36B7D99CA71D/image-size/large?v=v2&amp;amp;px=999" role="button" title="keygen.png" alt="keygen.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;See the below config:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sftp_config.png" style="width: 454px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94119i2FAA5F00AAE490F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="sftp_config.png" alt="sftp_config.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;dc.domain.local is the internal lab box where I host my own SFTP server.&lt;/LI&gt;
&lt;LI&gt;C:\Temp\Keys is where I have my private key file
&lt;OL&gt;
&lt;LI&gt;note this is C:\ on the Web Connectors server not my client machine, if I had it on a file share I would use \\server\share&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;The Source location is where I have my file on the server.&lt;/LI&gt;
&lt;LI&gt;Remote path is the remote path on the SFTP server.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Can you post an obfuscated screenshot of your config?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--J&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 19:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006616#M11651</guid>
      <dc:creator>Jay_Brown</dc:creator>
      <dc:date>2022-11-18T19:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006631#M11652</link>
      <description>&lt;P&gt;This is an SFTP site running on Azure&amp;nbsp; server.blob.core.windows.net&lt;/P&gt;
&lt;P&gt;-If I change the host name it fails differently so I think that's good&lt;BR /&gt;-If I remove the .containername.username from the username I get a different error so it's seeing that&lt;BR /&gt;-If I remove the passphrase it's erroring out so it sees that too&lt;/P&gt;
&lt;P&gt;It's almost like the username and passphrase are wrong but this combo works fine connecting from Oracle.&lt;BR /&gt;&lt;BR /&gt;The error in the Qlik log is:&lt;BR /&gt;&lt;BR /&gt;Rebex.Net.SftpException: A public key corresponding to the supplied private key was not accepted by the server or the user name is incorrect. ---&amp;amp;gt; Rebex.Net.SshException: A public key corresponding to the supplied private key was not accepted by the server or the user name is incorrect.&lt;BR /&gt;at Rebex.Net.SshSession.dxgpo(String p0, String p1, SshPrivateKey p2, SshGssApiCredentials p3, Boolean p4)&lt;BR /&gt;&lt;BR /&gt;So it seems like it's getting an error back from the SFTP server.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 20:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006631#M11652</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2022-11-18T20:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Web connector error</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006636#M11653</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="CrmCaseCommentPostDate lia-component-description"&gt;We were able to create a new user with just a username and password (no key/passphrase) and it seems to be working. We think what may have been happening is even though Qlik was set up correctly with the key maybe it wasn't being sent.&lt;/DIV&gt;
&lt;DIV class="CrmCaseCommentAttachments lia-component-attachments"&gt;&lt;BR /&gt;I'm also wondering if this is a bug with Qlik Web connectors and Azure blob storage/SFTP&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-footer"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Nov 2022 21:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SFTP-Web-connector-error/m-p/2006636#M11653</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2022-11-18T21:11:34Z</dc:date>
    </item>
  </channel>
</rss>

