SCP / SFTP job failed with com.jscape.inet.sftp.SftpException: Invalid MAC: HMAC-SHA2-256 in WA Agent
search cancel

SCP / SFTP job failed with com.jscape.inet.sftp.SftpException: Invalid MAC: HMAC-SHA2-256 in WA Agent

book

Article ID: 422940

calendar_today

Updated On:

Products

Workload Automation Agent ESP dSeries Workload Automation ESP dSeries Workload Automation - Business Agents (dSeries) ESP dSeries Workload Automation - Scheduler (dSeries) ESP dSeries Workload Automation - System Agent (dSeries) Autosys Workload Automation

Issue/Introduction

The SCP job failed with the following error:

FtpPlugin.ftp Internal Thread.CybWOBScpTransferHandler.processWob[:817] - com.jscape.inet.sftp.SftpException: Invalid MAC: HMAC-SHA2-256       at cybermation.library.ssh.protocol.v2.marshaling.algorithms.Jce.initializeAlgorithmFactory(Jce.java:217)    at cybermation.plugins.ftp.wobhandler.CybWOBScpTransferHandler.processWob(CybWOBScpTransferHandler.java:729)    at cybermation.plugins.library.base.CybRMIExternalPluginBaseManager.processWob(CybRMIExternalPluginBaseManager.java:627) at cybermation.plugins.library.base.CybRMIExternalPluginBaseManager.run(CybRMIExternalPluginBaseManager.java:460)

 

Environment

Workload Automation Agent: 12.0 or above

OS: Any

Cause

The "security.ssh" property has been incorrectly defined.  

Resolution

Correctly define any of the "security.ssh" properties.  They must be entered in agentparm.txt in lowercase only.  Do not substitute dash (-_ with  and underscore (_).  If possible, copy and paste the property from the documentation.  Only use the currently supported properties as listed in the documentation.  If any other non-documented property is used, the agent will not complete the SCP/SFTP jobs.  

Note: Restart WA Agent for any changes in agentparm.txt for changes to take effect.