Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Huge help! I was able to use PuTTYgen to convert my OpenSSH key to a "classic" rsa key and it worked fine.