.PPK Files and Secure FTP Connections


hi community!

 

i having issues establishing secure ftp connection in coldfusion. error message "invaid private key" , refuses connection. yes, "invaid" there mispelling there :-)

 

this code using:

 

<cftry>
<cfftp action="open" connection="myconnection" key="\\server\web\retail\dir\privatekey.ppk" passphrase="pass" secure="yes" server="sftp.server.com" port="22" stoponerror="yes" username="theusername">
<cfcatch type="any">
  <cfoutput>
  <cfdump var="#cfcatch#">
  </cfoutput>
</cfcatch>
</cftry>

 

i wonder problem here! i'd appreciate thougts!

my guess sftp wants key in ssh format, this:



More discussions in Advanced Techniques


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???