Skip to main content
Participant
March 30, 2020
Question

CF18 cfftp invalid privatekey

  • March 30, 2020
  • 1 reply
  • 609 views

Hi there,

I am new to cfftp secure="yes" and  I keep getting invalid privatekey error and couldn't find anything when I google it.  I know the key is working as I can connect using filezilla.  So I had a look at the stack trace and google Jsch invalid privatekey and bam, found out I need to convert the key to "classic" OpenSSH format as per:

 

https://stackoverflow.com/questions/53134212/invalid-privatekey-when-using-jsch

 

Just putting this out there in case a newbie come across the same problem.

    This topic has been closed for replies.

    1 reply

    Participant
    May 12, 2021

    Huge help! I was able to use PuTTYgen to convert my OpenSSH key to a "classic" rsa key and it worked fine.