<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SFTP  Send File - &amp;#39;invalid private key: [B@5bbde572&amp;#39;</title><link>https://community.appian.com/discussions/f/plug-ins/35432/sftp-send-file---invalid-private-key-b-5bbde572</link><description>Hello Everyone, 
 I am using another client’s SFTP server for demo purposes, which uses SSH key pair authentication with a private key that works in FileZilla. 
 I have created Third-Party Credentials in Appian using the username only and uploaded the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/145633?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 12:33:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:907a095e-a2b6-4ea6-a792-ffe7f147bcb8</guid><dc:creator>dasaril0001</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/prathameshk2938"&gt;Prathamesh_Kale&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;The Key you are using is in open ssh, try converting it to RSA private key, it will work as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/138098?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 13:47:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b77ea92-202f-4cf9-af62-df03accf8448</guid><dc:creator>jarunb</dc:creator><description>&lt;p&gt;Nope&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/138096?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 13:46:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e25adcd-2b4a-40b8-ade0-2c7c53ceec14</guid><dc:creator>Prathamesh_Kale</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/jarunb"&gt;jarunb&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you got any solution for this issue ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/137945?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 12:22:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89481ea0-97f2-487a-ac20-282bfffb3447</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;Check following threads:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://stackoverflow.com/questions/53134212/invalid-privatekey-when-using-jsch"&gt;https://stackoverflow.com/questions/53134212/invalid-privatekey-when-using-jsch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mkyong.com/java/jsch-invalid-privatekey-exception/"&gt;https://mkyong.com/java/jsch-invalid-privatekey-exception/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/137943?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 10:22:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77cded9f-1858-42a5-b177-75275dce69f6</guid><dc:creator>jarunb</dc:creator><description>&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I just got this username for server team and before using into appian&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:inherit;"&gt;For testing I have use&amp;nbsp; above user in FileZilla&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:inherit;"&gt;I am not sure that I have give fulfil your question or not&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/137942?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 10:17:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dd87953-b88f-4950-a6dd-1f73c2431f69</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;&lt;span&gt;Are you using the same user(user specified in the username field in the Third-Party Credentials screen) in Appian and FileZilla? Because we can not use the same key with different users.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/137941?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 10:03:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f166ae2-f2a6-484b-a279-a27a86ac1c3e</guid><dc:creator>jarunb</dc:creator><description>&lt;p&gt;But, Still I am getting the same error&amp;nbsp;&lt;span&gt;invalid private key: [B@5bbde572 &lt;br /&gt;&lt;br /&gt;So Is there specific format for private file which Appian support&amp;nbsp;and any key point which I have take care while working with this type of auth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/137940?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 09:59:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96ff92f3-5750-4a0a-ba4c-9dfd4f23a420</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;Your above configuration looks good to me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/137938?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 09:05:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be29bd2e-1ce5-4b9f-aac7-f05b77aaf859</guid><dc:creator>jarunb</dc:creator><description>&lt;p&gt;Ok can share me the&amp;nbsp;Third-Party Credentials&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/19/pastedimage1720688897888v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SFTP  Send File - 'invalid private key: [B@5bbde572'</title><link>https://community.appian.com/thread/137937?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 09:03:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b47cbdf-b302-4bca-8406-54bf222fd02e</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;&lt;span&gt;Casting to an integer is not required for the file.&amp;nbsp; See the below for details:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;= &amp;#39;type!{http://plugins.ps.appiancorp.com/suite/types/}FT_Config&amp;#39;(
  serverHostName: cons!FTP_HOST_NAME,
  serverPort: 22,
  scsExternalSystemKey: &amp;quot;ftp-user-name&amp;quot;,
  usePerUserCredentials: false(),
  privateKeyFile: cons!FTP_PRIVATE_KEY
)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>