CF18 cfftp invalid privatekey

New Here ,
Mar 29, 2020 Mar 29, 2020

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.

Views

90

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines