An invalid privatekey" error is generated when using SFTP
search cancel

An invalid privatekey" error is generated when using SFTP

book

Article ID: 88650

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Symptoms

A error message, similar to the following, is generated when attempting to use a job that uses sftp.

ErrorMsg: Internal error  (3/2/15 4:18 PM)
Details: Error,  unable to connect to remote host
com.jcraft.jsch.JSchException: invalid privatekey: c:\path\to\file.ppk

 

Cause

A number of issue can cause that error to occur.  One of the most common reasons is because the public key was created with the ppk format, but the private key was generated in the .pm format.

 

Environment

Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component:

Resolution

Generating and using a .ppk private key instead of a .pem formatted key should resolve the issue.  Please contact Automic support if the issue continues.